summaryrefslogtreecommitdiff
path: root/playbooks.d/webserver-nginx/share/sites.d/http
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks.d/webserver-nginx/share/sites.d/http')
-rw-r--r--playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.media13
1 files changed, 13 insertions, 0 deletions
diff --git a/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.media b/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.media
new file mode 100644
index 0000000..92d387c
--- /dev/null
+++ b/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.media
@@ -0,0 +1,13 @@
+server {
+ listen 80;
+ listen [::]:80;
+
+ server_name nl.tyil.media;
+
+ include /etc/nginx/snippets.d/certbot.conf;
+ include /etc/nginx/snippets.d/headers.conf;
+
+ location / {
+ return 301 https://$host$request_uri;
+ }
+}