add dummy for robots.txt
This commit is contained in:
parent
35201574cb
commit
e3b0a2145a
2 changed files with 8 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Reference in a new issue