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:
parent
a6c9a73ee0
commit
026fe1deb9
1 changed files with 16 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue