1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/meilisearch_ynh.git synced 2024-09-03 19:45:59 +02:00

Nginx modification

This commit is contained in:
frju365 2020-05-20 09:57:30 +02:00
parent cd41978a3b
commit cb4ee4bdad
No known key found for this signature in database
GPG key ID: C892BE847FF5635A

View file

@ -1,4 +1,6 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
rewrite __PATH__/(.*) /$1 break;
location __PATH__/ {
proxy_set_header Host $http_host;
@ -7,8 +9,6 @@ location __PATH__/ {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://127.0.0.1:__PORT__;
rewrite __PATH__/(.*) /$1 break;
# Path to source
alias __FINALPATH__/ ;