1
0
Fork 0
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:
Éric Gaspar 2023-10-19 09:42:09 +02:00
parent 980f386cb2
commit 0a2d5ea719

View file

@ -4,6 +4,7 @@ location __PATH__/ {
proxy_pass https://127.0.0.1:__PORT__/; proxy_pass https://127.0.0.1:__PORT__/;
#Proxy Settings #Proxy Settings
proxy_http_version 1.1;
proxy_redirect off; proxy_redirect off;
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;