Comments (10)
mode httpde
mode http I suppose
Did you put http-response set-header Access-Control-Allow-Origin "yourhostname.com"
in the config?
It should response with this header, what do you mean no success? No Access-Control-Allow-Origin header?
from nuster.
Thank you so much for a very quick response, so my config file should be look like this with CORS,
global
nuster cache on dir /cache
nuster manager on uri /internal/nuster purge-method PURGEX
frontend fe
bind *:443 ssl crt /cert.pem alpn h2,http/1.1
mode http
default_backend be
backend be
mode http
http-response set-header Access-Control-Allow-Origin "yourhostname.com"
nuster cache on
nuster rule all disk on ttl 7d
server s1 1.1.1.1:80
Right?
from nuster.
Yes
from nuster.
I thought with above config cache will save on nuster server for 7 days, but in reality it is not saving anything, its only playing video from backend server like a proxy server,
where im doing wrong? i want that nuster server save video in cache from first request and serve for next 7 days,
Thanks
from nuster.
@SilipTv5 The config is OK. Do you have permission to write to /cache ? Can you enable log and upload the logs?
from nuster.
if i want to use Nuster as a reverse proxy without using any cache, below config is ok?
global
nuster manager on uri /internal/nuster purge-method PURGEX
frontend fe
bind *:443 ssl crt /cert.pem alpn h2,http/1.1
mode http
default_backend be
backend be
mode http
server s1 1.1.1.1:80
from nuster.
Yes
from nuster.
this is working and now facing SSL issue, any idea?
from nuster.
sounds like standard ssl termination, so this should help:
https://www.haproxy.com/blog/haproxy-ssl-termination/
from nuster.
global
nuster cache on dir /cache
nuster manager on uri /internal/nuster purge-method PURGEX
frontend fe
bind *:443 ssl crt /cert.pem alpn h2,http/1.1
mode http
default_backend ssl_443
backend ssl_443
mode http
nuster cache off
nuster rule all disk on ttl 7d
server s1 00.00.00.00:443 ssl verify none
Finally this config work with SSL, but facing a minor issue, WordPress site health have this issue
The REST API call gave the following unexpected result: (520)
that is most probably is with SSL misconfiguration
Any Help?
Thanks
from nuster.
Related Issues (20)
- 实际测试的性能,比作者说的差距非常大。结论:没有必须使用nuster,直接使用nginx就可以。 HOT 3
- How to use Haproxy v2.4.0 HOT 4
- question: how to ignore a specific query parameter for http cache? HOT 5
- Support 304 answers? HOT 2
- Can we force the first request return stale cache when stale on? HOT 7
- Enhancement library improvements for nuster!
- Does `wait on` even work? HOT 4
- timeout if server directive is missing port HOT 5
- Log cache hit or miss in log file HOT 2
- incorrect date header HOT 2
- backend response headers not passed to client HOT 4
- ARM64 Docker images
- Will caching work for forward proxy? HOT 2
- Equivalent of hash_always_miss HOT 1
- stat `store.disk.cache.loaded` vary depending on running as daemon
- Nuster seems to ignore cache-control headers from BE. Like "no-cache" HOT 5
- will nuster be updated with latest features of haproxy?
- [Security] Infinite loop in src/http_ana.c
- Can nuster support serve stale and update cache in background when cache is stale?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuster.