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

74 lines
1.3 KiB
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)$ {
2023-07-01 17:16:07 +00:00
expires 3600;
2023-05-19 22:19:33 +00:00
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;
}
server {
server_name concourse.pim.kunis.nl;
return 301 https://ci.kun.is$request_uri;
}
2023-06-30 14:31:04 +00:00
server {
server_name rss.pim.kunis.nl;
return 301 https://rss.kun.is$request_uri;
}
server {
server_name md.pim.kunis.nl;
return 301 https://md.kun.is$request_uri;
}
server {
server_name cloud.pim.kunis.nl;
return 301 https://cloud.kun.is$request_uri;
}
server {
server_name dav.pim.kunis.nl;
return 301 https://dav.kun.is$request_uri;
}
2023-07-05 21:46:46 +00:00
server {
server_name git.pim.kunis.nl;
return 301 https://git.kun.is$request_uri;
}
2023-07-07 10:45:31 +00:00
server {
server_name traefik.pim.kunis.nl;
return 301 https://traefik.kun.is$request_uri;
}
2023-07-12 16:10:10 +00:00
server {
server_name latex.pim.kunis.nl;
return 301 https://latex.kun.is$request_uri;
}
2023-07-12 16:17:15 +00:00
server {
server_name pihole.pim.kunis.nl;
return 301 https://pihole.kun.is$request_uri;
}
2023-07-12 16:18:51 +00:00
server {
server_name swarm.pim.kunis.nl;
return 301 https://swarm.kun.is$request_uri;
}