1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grammalecte_ynh.git synced 2024-09-03 20:36:23 +02:00

Update nginx.conf

This commit is contained in:
Éric Gaspar 2023-01-11 19:13:43 +01:00
parent 57abc73a5a
commit fd9a3b658e

View file

@ -1,5 +1,7 @@
location / {
proxy_pass http://localhost:__PORT__/;
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
proxy_pass http://127.0.0.1:__PORT__/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;