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:
parent
19e0316543
commit
8c8a797d08
1 changed files with 20 additions and 24 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue