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:
parent
57abc73a5a
commit
fd9a3b658e
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue