mirror of
https://github.com/YunoHost-Apps/webmin_ynh.git
synced 2024-09-03 20:36:08 +02:00
Update nginx.conf
This commit is contained in:
parent
ecc7c1a67c
commit
621460f4e3
1 changed files with 2 additions and 1 deletions
|
@ -3,9 +3,10 @@ location __PATH__/ {
|
||||||
|
|
||||||
proxy_pass https://127.0.0.1:__PORT__/;
|
proxy_pass https://127.0.0.1:__PORT__/;
|
||||||
|
|
||||||
#Proxy Settings
|
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
|
proxy_set_header Connection "Upgrade";
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Host $host:$server_port; #this redirects the link without port no
|
proxy_set_header Host $host:$server_port; #this redirects the link without port no
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
Loading…
Add table
Reference in a new issue