1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00

redirect to THE LAEND

This commit is contained in:
L3D 2021-11-29 01:40:10 +01:00
parent 13ffff1b27
commit 7f10dc6745
Signed by: l3d
GPG key ID: CD08445BFF4313D1
4 changed files with 78 additions and 0 deletions

View file

@ -134,6 +134,8 @@ nginx_sites:
webroot: webroot:
user: 'see' user: 'see'
- name: 'www.xn--see-br-0xa.se' - name: 'www.xn--see-br-0xa.se'
- name: 'thelaend.xn--see-br-0xa.se'
- name: 'www.thelaend.xn--see-br-0xa.se'
acme_notification_email: "{{ _acme_notification_email }}" acme_notification_email: "{{ _acme_notification_email }}"

View file

@ -0,0 +1,30 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name thelaend.xn--see-br-0xa.se thelaend.see-bör.se;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
return 308 https://github.com/thelaend/;
}
}
# redirect UTF-8 encoded domain... just in case
server {
listen 80;
listen [::]:80;
server_name thelaend.see-bör.se;
include snippets/logging_{{ site.name }}.snippet.conf;
include snippets/acmetool.snippet.conf;
location ^~ / {
return 308 https://thelaend.xn--see-br-0xa.se$request_uri;
}
}

View file

@ -0,0 +1,30 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name www.thelaend.xn--see-br-0xa.se www.thelaend.see-bör.se;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
return 308 https://thelaend.xn--see-br-0xa.se$request_uri;
}
}
# redirect UTF-8 encoded domain... just in case
server {
listen 80;
listen [::]:80;
server_name www.thelaend.see-bör.se;
include snippets/logging_{{ site.name }}.snippet.conf;
include snippets/acmetool.snippet.conf;
location ^~ / {
return 308 https://thelaend.xn--see-br-0xa.se$request_uri;
}
}

View file

@ -17,3 +17,19 @@ server {
try_files $uri $uri/ =404; try_files $uri $uri/ =404;
} }
} }
# redirect UTF-8 encoded domain... just in case
server {
listen 80;
listen [::]:80;
server_name see-bör.se;
include snippets/logging_{{ site.name }}.snippet.conf;
include snippets/acmetool.snippet.conf;
location ^~ / {
return 308 https://xn--see-br-0xa.se$request_uri;
}
}