From e6bbca473453a8d797060d97fe8ad3e729719b53 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Sun, 2 Aug 2026 09:36:16 +0100 Subject: move mox and ln from make to ansible --- nginx/http.d/reverse_proxy.conf.template | 20 -------------------- nginx/http.d/static.conf.template | 22 ---------------------- 2 files changed, 42 deletions(-) delete mode 100644 nginx/http.d/reverse_proxy.conf.template delete mode 100644 nginx/http.d/static.conf.template (limited to 'nginx/http.d') diff --git a/nginx/http.d/reverse_proxy.conf.template b/nginx/http.d/reverse_proxy.conf.template deleted file mode 100644 index dc85cef..0000000 --- a/nginx/http.d/reverse_proxy.conf.template +++ /dev/null @@ -1,20 +0,0 @@ -server { - server_name ${DOMAIN}; - location / { - proxy_pass http://${HOST}:${PORT}; - } - listen 443 ssl; - ssl_certificate /etc/letsencrypt/live/${DOMAIN}/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/${DOMAIN}/privkey.pem; - include /etc/letsencrypt/options-ssl-nginx.conf; - ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; -} - -server { - if ($$host = ${DOMAIN}) { - return 301 https://$$host$$request_uri; - } - server_name ${DOMAIN}; - listen 80; - return 404; -} diff --git a/nginx/http.d/static.conf.template b/nginx/http.d/static.conf.template deleted file mode 100644 index 4f80be2..0000000 --- a/nginx/http.d/static.conf.template +++ /dev/null @@ -1,22 +0,0 @@ -server { - server_name ${DOMAIN}; - location / { - root ${ROOT}; - try_files $$uri $$uri.html $$uri/index.html =404; - error_page 404 /index.html; - } - listen 443 ssl; - ssl_certificate /etc/letsencrypt/live/${CERTNAME}/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/${CERTNAME}/privkey.pem; - include /etc/letsencrypt/options-ssl-nginx.conf; - ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; -} - -server { - if ($$host = ${DOMAIN}) { - return 301 https://$$host$$request_uri; - } # managed by Certbot - server_name ln.joeac.net; - listen 80; - return 404; -} -- cgit v1.2.3