mirror of
https://github.com/YunoHost-Apps/meilisearch_ynh.git
synced 2024-09-03 19:45:59 +02:00
nginx subpath
This commit is contained in:
parent
0a28601c07
commit
cd41978a3b
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ location __PATH__/ {
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:__PORT__;
|
proxy_pass http://127.0.0.1:__PORT__;
|
||||||
|
|
||||||
|
rewrite __PATH__/(.*) /$1 break;
|
||||||
|
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/ ;
|
alias __FINALPATH__/ ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue