forked from baron/baron-sso
fix(userfront): prevent public env asset request
This commit is contained in:
@@ -45,6 +45,10 @@ server {
|
||||
|
||||
# --- UserFront Static Files ---
|
||||
|
||||
location = / {
|
||||
return 302 /ko/signin;
|
||||
}
|
||||
|
||||
# App shell and Flutter bootstrap files must revalidate on each deployment.
|
||||
location = /index.html {
|
||||
add_header Cache-Control "no-cache, max-age=0, must-revalidate";
|
||||
|
||||
Reference in New Issue
Block a user