mirror of
https://github.com/YunoHost-Apps/garage_ynh.git
synced 2024-09-03 18:36:32 +02:00
Update nginx.conf
This commit is contained in:
parent
6b11ebe338
commit
40f7c66c78
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
location / {
|
||||
proxy_pass http://localhost:__PORT_API__;
|
||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location __PATH__/ {
|
||||
|
||||
proxy_pass http://127.0.0.1:__PORT_API__;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue