This repository has been archived on 2024-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
static/nginx.conf

24 lines
406 B
Nginx Configuration File
Raw Normal View History

2023-05-19 22:19:33 +00:00
server {
listen 80;
2023-06-17 09:37:08 +00:00
server_name pim.kun.is;
2023-05-19 22:19:33 +00:00
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;
}
2023-06-17 09:37:08 +00:00
server {
server_name pim.kunis.nl;
return 301 https://pim.kun.is$request_uri;
}