mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-24 05:28:20 +03:00
17 lines
547 B
Text
17 lines
547 B
Text
server {
|
|
listen 80 default_server;
|
|
|
|
error_log /home/shlink/www/data/infra/nginx/mercure_proxy.error.log;
|
|
|
|
location / {
|
|
proxy_pass http://shlink_mercure;
|
|
proxy_read_timeout 24h;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Connection "";
|
|
|
|
## Be sure to set USE_FORWARDED_HEADERS=1 to allow the hub to use those headers ##
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Host $host;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
}
|
|
}
|