Fix proxifying to static assets

master
kaiyou 7 years ago
parent 808809b37a
commit 648d092e88

@ -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 %}

Loading…
Cancel
Save