mirror of
https://github.com/YunoHost-Apps/converse_ynh.git
synced 2024-09-03 18:25:53 +02:00
Fix
This commit is contained in:
parent
bc16a91f54
commit
fde03cdc57
1 changed files with 10 additions and 8 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue