Dockerfiles
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name volley_bracket;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
include /etc/nginx/mime.types;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location = /favicon.svg {
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
try_files /favicon.svg =404;
|
||||
add_header Content-Type image/svg+xml;
|
||||
}
|
||||
|
||||
# Cache compiled JS and CSS assets
|
||||
location /assets/ {
|
||||
expires 1y;
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user