move to pim.kun.is
This commit is contained in:
parent
b6f580c522
commit
46c2838e49
2 changed files with 7 additions and 2 deletions
|
@ -18,6 +18,6 @@ services:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.static.entrypoints=websecure
|
- traefik.http.routers.static.entrypoints=websecure
|
||||||
- traefik.http.services.static.loadbalancer.server.port=80
|
- traefik.http.services.static.loadbalancer.server.port=80
|
||||||
- traefik.http.routers.static.rule=Host(`pim.kunis.nl`)
|
- "traefik.http.routers.static.rule=(Host(`pim.kunis.nl`) || Host(`pim.kun.is`))"
|
||||||
- traefik.http.routers.static.tls=true
|
- traefik.http.routers.static.tls=true
|
||||||
- traefik.http.routers.static.tls.certresolver=letsencrypt
|
- traefik.http.routers.static.tls.certresolver=letsencrypt
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name pim.kunis.nl;
|
server_name pim.kun.is;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
root /var/www/blog;
|
root /var/www/blog;
|
||||||
|
|
||||||
|
@ -16,3 +16,8 @@ server {
|
||||||
|
|
||||||
error_page 404 /404.html;
|
error_page 404 /404.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
server_name pim.kunis.nl;
|
||||||
|
return 301 https://pim.kun.is$request_uri;
|
||||||
|
}
|
||||||
|
|
Reference in a new issue