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

Cleanup nginx config

This commit is contained in:
Salamandar 2024-01-18 12:19:10 +01:00
parent 19e0316543
commit 8c8a797d08

View file

@ -2,7 +2,7 @@
location __PATH__/ { location __PATH__/ {
# Path to source # Path to source
alias __INSTALL_DIR__/ ; alias __INSTALL_DIR__/;
index index.php; index index.php;
@ -23,10 +23,6 @@ location __PATH__/ {
} }
location __PATH__/http-bind { location __PATH__/http-bind {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_pass http://127.0.0.1:5290/http-bind; proxy_pass http://127.0.0.1:5290/http-bind;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_buffering off; proxy_buffering off;