Tidied up file mounting locations and server alias

This commit is contained in:
2022-08-18 17:17:56 +01:00
parent 81b09190de
commit a2e859af5d
2 changed files with 4 additions and 4 deletions

View File

@ -37,12 +37,12 @@ server {
location ^~ /admin/editor/static/ {
include /etc/nginx/mime.types;
alias /usr/share/nginx/html/admin/editor/static/;
alias /usr/share/nginx/html/editor/static/;
}
location ^~ /admin/view/static/ {
include /etc/nginx/mime.types;
alias /usr/share/nginx/html/admin/view/static/;
alias /usr/share/nginx/html/view/static/;
}
# Proxy to the main app for all other requests