mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
Fix proxifying to static assets
This commit is contained in:
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…
Reference in New Issue
Block a user