add dummy for robots.txt

This commit is contained in:
Pim Kunis 2023-08-23 18:34:58 +02:00
parent 35201574cb
commit e3b0a2145a
2 changed files with 8 additions and 1 deletions

View file

@ -23,7 +23,7 @@ services:
- traefik.http.routers.redirects.entrypoints=websecure - traefik.http.routers.redirects.entrypoints=websecure
- traefik.http.routers.redirects.service=static - traefik.http.routers.redirects.service=static
- "traefik.http.routers.redirects.rule=(Host(`pim.kunis.nl`) || Host(`concourse.pim.kunis.nl`) || Host(`rss.pim.kunis.nl`) || Host(`md.pim.kunis.nl`) || Host(`cloud.pim.kunis.nl`) || Host(`dav.pim.kunis.nl`) || Host(`git.pim.kunis.nl`) || Host(`latex.pim.kunis.nl`) || Host(`grades.when.kun.is`))" - "traefik.http.routers.redirects.rule=(Host(`pim.kunis.nl`) || Host(`concourse.pim.kunis.nl`) || Host(`rss.pim.kunis.nl`) || Host(`md.pim.kunis.nl`) || Host(`cloud.pim.kunis.nl`) || Host(`dav.pim.kunis.nl`) || Host(`git.pim.kunis.nl`) || Host(`latex.pim.kunis.nl`) || Host(`grades.when.kun.is`) || Path(`/robots.txt`))"
- traefik.http.routers.redirects.tls=true - traefik.http.routers.redirects.tls=true
- traefik.http.routers.redirects.tls.certresolver=letsencrypt - traefik.http.routers.redirects.tls.certresolver=letsencrypt

View file

@ -1,3 +1,10 @@
server {
listen 80;
server_name _;
return 418;
}
server { server {
listen 80; listen 80;
server_name pim.kun.is; server_name pim.kun.is;