Some checks failed
Build and Deploy Gabriel Kaszewski Portfolio / build-and-deploy-local (push) Failing after 7s
~800MiB -> ~5MiB RAM
22 lines
386 B
Nginx Configuration File
22 lines
386 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
location / {
|
|
try_files $uri $uri.html $uri/ =404;
|
|
}
|
|
|
|
location /_next/static/ {
|
|
expires 1y;
|
|
add_header Cache-Control "public, immutable";
|
|
}
|
|
|
|
location /images/ {
|
|
expires 30d;
|
|
add_header Cache-Control "public";
|
|
}
|
|
|
|
error_page 404 /404.html;
|
|
}
|