16 lines
345 B
Nginx Configuration File
16 lines
345 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name polyanarchy.us www.polyanarchy.us;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
location ~* \.(css|js|jpg|jpeg|png|gif|ico|svg|woff|woff2)$ {
|
|
expires 30d;
|
|
add_header Cache-Control "public, immutable";
|
|
}
|
|
}
|