Fix nginx.conf to work with OIDC (#1932)
* fix nginx.conf to work with OIDC * rewrite like .htaccess
This commit is contained in:
parent
f1cba60825
commit
c3b3d5e9d6
@ -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 ~ ^/[@_]/ {
|
||||||
|
Loading…
Reference in New Issue
Block a user