summaryrefslogtreecommitdiff
path: root/nginx/http.d/docs.joeac.net.conf
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-02 23:16:29 +0100
committerJoe Carstairs <me@joeac.net>2026-07-02 23:16:29 +0100
commitb705e9e1e5761008623826a67638fb739d503153 (patch)
treeb1cef51920cabfeea48db78809b2e7d1a08d891d /nginx/http.d/docs.joeac.net.conf
parent87a6a3f1f8cc9c9c47ed18791ab79c7203613695 (diff)
nginx installation uses templates and vars instead of explicit conf for
each module
Diffstat (limited to 'nginx/http.d/docs.joeac.net.conf')
-rw-r--r--nginx/http.d/docs.joeac.net.conf26
1 files changed, 0 insertions, 26 deletions
diff --git a/nginx/http.d/docs.joeac.net.conf b/nginx/http.d/docs.joeac.net.conf
deleted file mode 100644
index 6b4779a..0000000
--- a/nginx/http.d/docs.joeac.net.conf
+++ /dev/null
@@ -1,26 +0,0 @@
-server {
- server_name docs.joeac.net;
-
- location / {
- proxy_pass http://localhost:9001;
- }
-
-
- listen 443 ssl; # managed by Certbot
- ssl_certificate /etc/letsencrypt/live/docs.joeac.net/fullchain.pem; # managed by Certbot
- ssl_certificate_key /etc/letsencrypt/live/docs.joeac.net/privkey.pem; # managed by Certbot
- include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
- ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
-
-}
-
-server {
- if ($host = docs.joeac.net) {
- return 301 https://$host$request_uri;
- } # managed by Certbot
-
-
- server_name docs.joeac.net;
- listen 80;
- return 404; # managed by Certbot
-}