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:
parent
13ffff1b27
commit
7f10dc6745
4 changed files with 78 additions and 0 deletions
|
@ -134,6 +134,8 @@ nginx_sites:
|
|||
webroot:
|
||||
user: 'see'
|
||||
- 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 }}"
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -17,3 +17,19 @@ server {
|
|||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue