summaryrefslogtreecommitdiff
path: root/playbooks.d/webserver-nginx/share
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-07-16 10:51:16 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-07-16 10:51:16 +0200
commit8b57bed5803ceb6eba96df87382df54a4a95bea8 (patch)
tree7d5ba7948f060a65f8b11282fe2235007fb9d371 /playbooks.d/webserver-nginx/share
parentb6fb8ef94beb3249fe419a7a7f884875de725f84 (diff)
Add servarr hosts
Diffstat (limited to 'playbooks.d/webserver-nginx/share')
-rw-r--r--playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.lid13
-rw-r--r--playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.prowl13
-rw-r--r--playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.rad13
-rw-r--r--playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.son13
-rw-r--r--playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.lid23
-rw-r--r--playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.prowl23
-rw-r--r--playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.rad23
-rw-r--r--playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.son23
8 files changed, 144 insertions, 0 deletions
diff --git a/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.lid b/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.lid
new file mode 100644
index 0000000..2fad057
--- /dev/null
+++ b/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.lid
@@ -0,0 +1,13 @@
+server {
+ listen 80;
+ listen [::]:80;
+
+ server_name lid.arr.tyil.nl;
+
+ include /etc/nginx/snippets.d/certbot.conf;
+ include /etc/nginx/snippets.d/headers.conf;
+
+ location / {
+ return 301 https://$host$request_uri;
+ }
+}
diff --git a/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.prowl b/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.prowl
new file mode 100644
index 0000000..1a1d70f
--- /dev/null
+++ b/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.prowl
@@ -0,0 +1,13 @@
+server {
+ listen 80;
+ listen [::]:80;
+
+ server_name prowl.arr.tyil.nl;
+
+ include /etc/nginx/snippets.d/certbot.conf;
+ include /etc/nginx/snippets.d/headers.conf;
+
+ location / {
+ return 301 https://$host$request_uri;
+ }
+}
diff --git a/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.rad b/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.rad
new file mode 100644
index 0000000..852147e
--- /dev/null
+++ b/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.rad
@@ -0,0 +1,13 @@
+server {
+ listen 80;
+ listen [::]:80;
+
+ server_name rad.arr.tyil.nl;
+
+ include /etc/nginx/snippets.d/certbot.conf;
+ include /etc/nginx/snippets.d/headers.conf;
+
+ location / {
+ return 301 https://$host$request_uri;
+ }
+}
diff --git a/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.son b/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.son
new file mode 100644
index 0000000..61904fd
--- /dev/null
+++ b/playbooks.d/webserver-nginx/share/sites.d/http/nl.tyil.arr.son
@@ -0,0 +1,13 @@
+server {
+ listen 80;
+ listen [::]:80;
+
+ server_name son.arr.tyil.nl;
+
+ include /etc/nginx/snippets.d/certbot.conf;
+ include /etc/nginx/snippets.d/headers.conf;
+
+ location / {
+ return 301 https://$host$request_uri;
+ }
+}
diff --git a/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.lid b/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.lid
new file mode 100644
index 0000000..049dfd9
--- /dev/null
+++ b/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.lid
@@ -0,0 +1,23 @@
+server {
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2;
+
+ server_name lid.arr.tyil.nl;
+
+ ssl_certificate /etc/letsencrypt/live/lid.arr.tyil.nl/fullchain.pem;
+ ssl_certificate_key /etc/letsencrypt/live/lid.arr.tyil.nl/privkey.pem;
+
+ include /etc/nginx/snippets.d/certbot.conf;
+ #include /etc/nginx/snippets.d/headers.conf;
+ include /etc/nginx/snippets.d/ssl.conf;
+
+ location / {
+ proxy_http_version 1.1;
+ proxy_set_header Connection $http_connection;
+ proxy_set_header Host $host;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header X-Forwarded-For $remote_addr;
+
+ proxy_pass http://127.0.0.1:20831;
+ }
+}
diff --git a/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.prowl b/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.prowl
new file mode 100644
index 0000000..894b604
--- /dev/null
+++ b/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.prowl
@@ -0,0 +1,23 @@
+server {
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2;
+
+ server_name prowl.arr.tyil.nl;
+
+ ssl_certificate /etc/letsencrypt/live/prowl.arr.tyil.nl/fullchain.pem;
+ ssl_certificate_key /etc/letsencrypt/live/prowl.arr.tyil.nl/privkey.pem;
+
+ include /etc/nginx/snippets.d/certbot.conf;
+ #include /etc/nginx/snippets.d/headers.conf;
+ include /etc/nginx/snippets.d/ssl.conf;
+
+ location / {
+ proxy_http_version 1.1;
+ proxy_set_header Connection $http_connection;
+ proxy_set_header Host $host;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header X-Forwarded-For $remote_addr;
+
+ proxy_pass http://127.0.0.1:20828;
+ }
+}
diff --git a/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.rad b/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.rad
new file mode 100644
index 0000000..83a4442
--- /dev/null
+++ b/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.rad
@@ -0,0 +1,23 @@
+server {
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2;
+
+ server_name rad.arr.tyil.nl;
+
+ ssl_certificate /etc/letsencrypt/live/rad.arr.tyil.nl/fullchain.pem;
+ ssl_certificate_key /etc/letsencrypt/live/rad.arr.tyil.nl/privkey.pem;
+
+ include /etc/nginx/snippets.d/certbot.conf;
+ #include /etc/nginx/snippets.d/headers.conf;
+ include /etc/nginx/snippets.d/ssl.conf;
+
+ location / {
+ proxy_http_version 1.1;
+ proxy_set_header Connection $http_connection;
+ proxy_set_header Host $host;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header X-Forwarded-For $remote_addr;
+
+ proxy_pass http://127.0.0.1:20832;
+ }
+}
diff --git a/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.son b/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.son
new file mode 100644
index 0000000..7873d2d
--- /dev/null
+++ b/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.son
@@ -0,0 +1,23 @@
+server {
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2;
+
+ server_name son.arr.tyil.nl;
+
+ ssl_certificate /etc/letsencrypt/live/son.arr.tyil.nl/fullchain.pem;
+ ssl_certificate_key /etc/letsencrypt/live/son.arr.tyil.nl/privkey.pem;
+
+ include /etc/nginx/snippets.d/certbot.conf;
+ #include /etc/nginx/snippets.d/headers.conf;
+ include /etc/nginx/snippets.d/ssl.conf;
+
+ location / {
+ proxy_http_version 1.1;
+ proxy_set_header Connection $http_connection;
+ proxy_set_header Host $host;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header X-Forwarded-For $remote_addr;
+
+ proxy_pass http://127.0.0.1:20833;
+ }
+}