Mise à jour de 'zone_route/nginx_public.md'

master
Pierre Coimbra 2020-02-05 15:45:55 +01:00
parent acaca5db7c
commit 6cbd3f98c7
No known key found for this signature in database
GPG Key ID: F9C449C78F6FAEE6
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@ server {
server_name address.fr; server_name address.fr;
location / { location / {
proxy_pass http://ip_reseau_public/; proxy_pass http://ip_reseau_public/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
} }
} }
``` ```