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

107 lines
1.7 KiB
Nginx Configuration File
Raw Normal View History

2023-08-23 16:34:58 +00:00
server {
listen 80;
server_name _;
2023-08-23 17:03:22 +00:00
location /robots.txt {
alias /var/www/robots.txt;
}
2023-08-23 16:34:58 +00:00
}
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";
}
2023-08-23 17:03:22 +00:00
location /robots.txt {
alias /var/www/robots.txt;
}
2023-05-19 22:19:33 +00:00
error_page 404 /404.html;
}
2023-06-17 09:37:08 +00:00
2023-07-15 15:00:13 +00:00
server {
listen 80;
2023-08-21 09:11:19 +00:00
server_name grades.when.kun.is;
2023-07-15 15:00:13 +00:00
index index.html;
root /var/www/counter;
location / {
try_files $uri $uri/ /index.html;
}
2023-08-23 17:03:22 +00:00
location /robots.txt {
alias /var/www/robots.txt;
}
2023-07-15 15:00:13 +00:00
}
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;
2023-07-12 16:49:54 +00:00
return 301 https://traefik.kun.is:444$request_uri;
2023-07-07 10:45:31 +00:00
}
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;
2023-07-12 16:49:54 +00:00
return 301 https://pihole.kun.is:444$request_uri;
2023-07-12 16:17:15 +00:00
}
2023-07-12 16:18:51 +00:00
server {
server_name swarm.pim.kunis.nl;
2023-07-12 16:49:54 +00:00
return 301 https://swarm.kun.is:444$request_uri;
2023-07-12 16:18:51 +00:00
}
2023-07-12 16:58:57 +00:00
server {
server_name uptime.pim.kunis.nl;
return 301 https://uptime.kun.is:444$request_uri;
}