1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/converse_ynh.git synced 2024-09-03 18:25:53 +02:00
This commit is contained in:
ericgaspar 2021-01-30 12:45:18 +01:00
parent bc16a91f54
commit fde03cdc57
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -11,13 +11,15 @@ location __PATH__/ {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }
location ~ ^__PATH__/http-bind/ { location __PATH__/http-bind {
proxy_pass http://__DOMAIN__; if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
} }
proxy_pass http://127.0.0.1:5290/http-bind;
location ~ .(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ { proxy_set_header Host $host;
add_header Access-Control-Allow-Origin "*"; # Decide here whether you want to allow all or only a particular domain proxy_buffering off;
root __FINALPATH__/; # Properly set the path here tcp_nodelay on;
access_log off;
} }
# Include SSOWAT user panel. # Include SSOWAT user panel.