Skip to content
Snippets Groups Projects
Commit 1ee4a841 authored by ngyimesi's avatar ngyimesi
Browse files

Modified config so that certbot should work

parent c8b2c894
No related branches found
No related tags found
No related merge requests found
server { # simple reverse-proxy server { # simple reverse-proxy
listen 443 ssl; listen 80;
server_name {{ full_hostname }}; server_name {{ full_hostname }};
root /var/www/html; root /var/www/html;
...@@ -7,11 +7,6 @@ server { # simple reverse-proxy ...@@ -7,11 +7,6 @@ server { # simple reverse-proxy
error_page 400 401 402 403 404 500 501 502 /index.html; 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 %} {% set cnt = 253 %}
{% for i in range(cnt) %} {% for i in range(cnt) %}
location /{{ i + 1 }} { location /{{ i + 1 }} {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment