summaryrefslogtreecommitdiff
path: root/nginx/http.d/reverse_proxy.conf.template
diff options
context:
space:
mode:
Diffstat (limited to 'nginx/http.d/reverse_proxy.conf.template')
-rw-r--r--nginx/http.d/reverse_proxy.conf.template20
1 files changed, 0 insertions, 20 deletions
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;
-}