server { listen 80; server_name _; location /robots.txt { alias /var/www/robots.txt; } } server { listen 80; server_name pim.kun.is; 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 3600; add_header Pragma public; add_header Cache-Control "public"; } location /robots.txt { alias /var/www/robots.txt; } error_page 404 /404.html; } server { listen 80; server_name grades.when.kun.is; index index.html; root /var/www/counter; location / { try_files $uri $uri/ /index.html; } location /robots.txt { alias /var/www/robots.txt; } } 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; } 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; } server { server_name git.pim.kunis.nl; return 301 https://git.kun.is$request_uri; } server { server_name traefik.pim.kunis.nl; return 301 https://traefik.kun.is:444$request_uri; } server { server_name latex.pim.kunis.nl; return 301 https://latex.kun.is$request_uri; } server { server_name pihole.pim.kunis.nl; return 301 https://pihole.kun.is:444$request_uri; } server { server_name swarm.pim.kunis.nl; return 301 https://swarm.kun.is:444$request_uri; } server { server_name uptime.pim.kunis.nl; return 301 https://uptime.kun.is:444$request_uri; }