1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redmine_ynh.git synced 2024-09-03 20:16:16 +02:00

Update nginx.conf

This commit is contained in:
liberodark 2019-03-21 13:44:10 +01:00 committed by GitHub
parent 7d437d97b1
commit 6a12fec97e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,22 +1,7 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
# Path to source
alias __FINALPATH__/ ;
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
index index.html;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}
location /pia-back/ {
# Path to source
# alias /opt/pia-back/ ;
# alias __FINALPATH__/ ;
proxy_pass http://127.0.0.1:3000/;
proxy_redirect off;
@ -30,4 +15,3 @@ location /pia-back/ {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}