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

Fix nginx configuration for cinny v4

This commit is contained in:
Salamandar 2024-07-25 12:12:13 +02:00
parent a6c9a73ee0
commit 026fe1deb9

View file

@ -4,8 +4,22 @@ location __PATH__/ {
# Path to source # Path to source
alias __INSTALL_DIR__/; alias __INSTALL_DIR__/;
# FIXME: Needed ? try_files $uri /index.html;
more_clear_input_headers 'Accept-Encoding';
location ~ ^.*/olm.wasm$ {
try_files $uri /olm.wasm;
}
# From upstream, FIXME: not needed?
# rewrite ^/config.json$ /config.json break;
# rewrite ^/manifest.json$ /manifest.json break;
# rewrite ^/pdf.worker.min.js$ /pdf.worker.min.js break;
# rewrite ^/public/(.*)$ /public/$1 break;
# rewrite ^/assets/(.*)$ /assets/$1 break;
# rewrite ^(.+)$ /index.html break;
# Include SSOWAT user panel. # Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;