mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-10-22 23:32:03 +00:00
modified nginx config for updates
This commit is contained in:
2
setup.sh
2
setup.sh
@@ -1238,6 +1238,7 @@ server {
|
|||||||
|
|
||||||
# Static assets caching (exclude Bull Board assets)
|
# Static assets caching (exclude Bull Board assets)
|
||||||
location ~* ^/(?!bullboard).*\.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
|
location ~* ^/(?!bullboard).*\.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
|
||||||
|
root $app_dir/frontend/dist;
|
||||||
expires 1y;
|
expires 1y;
|
||||||
add_header Cache-Control "public, immutable";
|
add_header Cache-Control "public, immutable";
|
||||||
}
|
}
|
||||||
@@ -1320,6 +1321,7 @@ server {
|
|||||||
|
|
||||||
# Static assets caching (exclude Bull Board assets)
|
# Static assets caching (exclude Bull Board assets)
|
||||||
location ~* ^/(?!bullboard).*\.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
|
location ~* ^/(?!bullboard).*\.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
|
||||||
|
root $app_dir/frontend/dist;
|
||||||
expires 1y;
|
expires 1y;
|
||||||
add_header Cache-Control "public, immutable";
|
add_header Cache-Control "public, immutable";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user