summaryrefslogtreecommitdiff
path: root/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.rad
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/sites.d/https/nl.tyil.arr.rad
parentb6fb8ef94beb3249fe419a7a7f884875de725f84 (diff)
Add servarr hosts
Diffstat (limited to 'playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.rad')
-rw-r--r--playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil.arr.rad23
1 files changed, 23 insertions, 0 deletions
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;
+ }
+}