Commit 3226778d authored by Lukas Burgey's avatar Lukas Burgey

Fix admin path in nginx conf

parent c8ee8d4e
......@@ -52,14 +52,18 @@ server {
root /home/feudal/feudalWebpage/dist;
index index.html;
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
location = /favicon.ico {
root /home/feudal/feudalWebpage/dist/assets/favicon/;
expires 30d;
add_header Pragma public;
add_header Cache-Control "public";
}
location /backend/static {
alias /home/feudal/feudalBackend/static;
location ^~ /backend/static/ {
alias /home/feudal/feudalBackend/static/;
expires 30d;
add_header Pragma public;
add_header Cache-Control "public";
}
location /rest {
......@@ -88,5 +92,11 @@ server {
}
rewrite "^$" /frontend;
}
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
expires 30d;
add_header Pragma public;
add_header Cache-Control "public";
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment