Files
demo-directus-storefront/nginx.conf
T

9 lines
252 B
Nginx Configuration File

server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / { try_files $uri $uri/ $uri.html /index.html; }
location ~* \.(css|js|woff2|jpg|png|svg|webp)$ { expires 7d; add_header Cache-Control "public"; }
}