From 1ee4a84176213aa877e3c49a858e01bf52bbf5d7 Mon Sep 17 00:00:00 2001 From: norbey <ngyimesi@sch.bme.hu> Date: Sun, 19 Mar 2023 12:35:06 +0100 Subject: [PATCH] Modified config so that certbot should work --- templates/proxy-hosts.conf.j2 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/templates/proxy-hosts.conf.j2 b/templates/proxy-hosts.conf.j2 index a05733e..f987e82 100644 --- a/templates/proxy-hosts.conf.j2 +++ b/templates/proxy-hosts.conf.j2 @@ -1,5 +1,5 @@ server { # simple reverse-proxy - listen 443 ssl; + listen 80; server_name {{ full_hostname }}; root /var/www/html; @@ -7,11 +7,6 @@ server { # simple reverse-proxy error_page 400 401 402 403 404 500 501 502 /index.html; - ssl_certificate /etc/letsencrypt/live/{{ full_hostname }}/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/{{ full_hostname }}/privkey.pem; - ssl_protocols TLSv1 TLSv1.1 TLSv1.2; - ssl_ciphers HIGH:!aNULL:!MD5; - {% set cnt = 253 %} {% for i in range(cnt) %} location /{{ i + 1 }} { -- GitLab