Skip to content

Commit

Permalink
Merge pull request #242 from DO1JLR/dhcp24
Browse files Browse the repository at this point in the history
DHCP24
  • Loading branch information
DO1JLR authored Nov 8, 2024
2 parents 9d69974 + 72d7df9 commit cbb4473
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 6 deletions.
2 changes: 1 addition & 1 deletion collections/ansible_collections/community/general
Submodule general updated 161 files
2 changes: 1 addition & 1 deletion collections/ansible_collections/grafana/grafana
4 changes: 4 additions & 0 deletions host_vars/web01.l3d.space/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ nginx_sites:
webroot:
user: 'winkekatze'
- name: 'www.winkekatze.tv'
- name: 'dhcp24.winkekatze.tv'
webroot:
user: 'winkekatze'
- name: 'www.shcp24.winkekatze.tv'
- name: 'klima-streik.de'
webroot:
user: 'klima'
Expand Down
2 changes: 1 addition & 1 deletion roles/unattended_upgrades
17 changes: 17 additions & 0 deletions templates/files/nginx/sites/dhcp24.winkekatze.tv_tls.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;

server_name dhcp24.winkekatze.tv;

include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;

root /srv/www/dhcp24.winkekatze.tv;

location / {
charset utf-8;
try_files $uri $uri/ =404;
}
}
14 changes: 14 additions & 0 deletions templates/files/nginx/sites/www.dhcp24.winkekatze.tv_tls.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;

server_name www.dhcp24.winkekatze.tv;

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://dhcp24.winkekatze.tv$request_uri;
}
}

0 comments on commit cbb4473

Please sign in to comment.