concourse-test/nginx.conf

19 lines
325 B
Nginx Configuration File
Raw Normal View History

2023-05-19 19:12:57 +00:00
server {
listen 80;
server_name pim.kunis.nl;
index index.html index.htm;
root /var/www/blog;
location / {
try_files $uri $uri/ /index.html;
}
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
expires 30d;
add_header Pragma public;
add_header Cache-Control "public";
}
error_page 404 /404.html;
}