1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/converse_ynh.git synced 2024-09-03 18:25:53 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2021-01-30 13:56:10 +01:00
parent 1b94a55f30
commit f64ad64168
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -7,14 +7,10 @@ location __PATH__/ {
index index.html;
# Force usage of https
f ($scheme = http) {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}
location = __PATH__/http-bind {
proxy_pass http://localhost:5290/http-bind;
proxy_redirect off;
@ -27,3 +23,7 @@ location __PATH__/ {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;
}
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}