@ -67,8 +67,9 @@ http {
location /admin {
return 301 $scheme://$host/admin/ui;
}
location /admin/ui {
location ~ /admin/(ui|static) {
rewrite ^/admin/(.*) /$1 break;
proxy_set_header X-Forwarded-Prefix /admin;
proxy_pass http://admin;
{% endif %}