Fix nginx.conf to work with OIDC (#1932)

* fix nginx.conf to work with OIDC
* rewrite like .htaccess
This commit is contained in:
Lurkars 2022-02-28 09:07:38 +01:00 committed by GitHub
parent f1cba60825
commit c3b3d5e9d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,9 @@ server {
location / { location / {
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html; index index.html;
rewrite ^/register/ /index.html break;
rewrite ^/login /index.html break;
rewrite ^/jwt /index.html break;
} }
location ~ ^/[@_]/ { location ~ ^/[@_]/ {