mirror of
https://scm.univ-tours.fr/22107988t/rappaurio-sae501_502.git
synced 2025-06-01 02:45:05 +02:00
fichier conf du serveur web nginx
This commit is contained in:
parent
a94f68f22a
commit
bbf38483d0
10
nginx/default.conf
Normal file
10
nginx/default.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
location / {
|
||||
proxy_set_header Host $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;
|
||||
|
||||
proxy_pass http://nodeserver:5000;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user