mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-21 03:02:09 +00:00
Moved the alias to line 4
This commit is contained in:
parent
0bbe7106bc
commit
de2e50d971
@ -1,12 +1,9 @@
|
|||||||
# Control Panel
|
# Control Panel
|
||||||
|
# Proxy /admin to our Python based control panel daemon. It is
|
||||||
# Admin assets directory
|
# listening on IPv4 only so use an IP address and not 'localhost'.
|
||||||
location /admin/assets {
|
location /admin/assets {
|
||||||
alias /usr/local/mailinabox/vendor/assets;
|
alias /usr/local/mailinabox/vendor/assets;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Proxy /admin to our Python based control panel daemon. It is
|
|
||||||
# listening on IPv4 only so use an IP address and not 'localhost'.
|
|
||||||
rewrite ^/admin$ /admin/;
|
rewrite ^/admin$ /admin/;
|
||||||
rewrite ^/admin/munin$ /admin/munin/ redirect;
|
rewrite ^/admin/munin$ /admin/munin/ redirect;
|
||||||
location /admin/ {
|
location /admin/ {
|
||||||
|
Loading…
Reference in New Issue
Block a user