Fix some for admin
This commit is contained in:
@@ -20,6 +20,11 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# Local dev lives at /admin/...; production is a dedicated domain at /.
|
||||
location ^~ /admin {
|
||||
rewrite ^/admin/?(.*)$ /$1 permanent;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user