Fixed Nginx settings

This commit is contained in:
FinnStutzenstein 2018-03-12 15:16:43 +01:00
parent 2828b8be8a
commit b291cc6ad6

View File

@ -232,7 +232,7 @@ This is an example configuration for a single Daphne/Geiss listen on port 8000::
server_name _; server_name _;
location ~* ^/(?!ws|wss|webclient|core/servertime|core/version|users/whoami|users/login|users/logout|users/setpassword|motions/docxtemplate|projector|real-projector|static|media|rest).*$ { location ~* ^/(?!ws|wss|webclient|core/servertime|core/version|users/whoami|users/login|users/logout|users/setpassword|motions/docxtemplate|agenda/docxtemplate|projector|real-projector|static|media|rest).*$ {
rewrite ^.*$ /static/templates/index.html; rewrite ^.*$ /static/templates/index.html;
} }
location ~* ^/projector.*$ { location ~* ^/projector.*$ {