Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit c4b8021d authored by peter_rabbit's avatar peter_rabbit
Browse files

wip:init letsencrypt try fix

parent 29df980d
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ fi ...@@ -8,7 +8,7 @@ fi
domains=(kuadrado-software.fr www.kuadrado-software.fr) domains=(kuadrado-software.fr www.kuadrado-software.fr)
rsa_key_size=4096 rsa_key_size=4096
data_path="./data/certbot" data_path="./data/certbot"
email="" # Adding a valid address is strongly recommended email="contact@kuadrado-software.fr"
staging=0 # Set to 1 if you're testing your setup to avoid hitting request limits staging=0 # Set to 1 if you're testing your setup to avoid hitting request limits
if [ -d "$data_path" ]; then if [ -d "$data_path" ]; then
......
...@@ -33,9 +33,9 @@ http { ...@@ -33,9 +33,9 @@ http {
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html index.htm; index index.html index.htm;
server_name kuadrado-software.fr www.kuadrado-software.fr; server_name kuadrado-software.fr www.kuadrado-software.fr;
location / { # location / {
return 301 https://$host$request_uri; # return 301 https://$host$request_uri;
} # }
location /.well-known/acme-challenge/ { location /.well-known/acme-challenge/ {
root /var/www/certbot; root /var/www/certbot;
} }
...@@ -49,9 +49,9 @@ http { ...@@ -49,9 +49,9 @@ http {
ssl_certificate_key /etc/letsencrypt/live/ekuadrado-software.fr/privkey.pem; ssl_certificate_key /etc/letsencrypt/live/ekuadrado-software.fr/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf; include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
location / { # location / {
proxy_pass http://kuadrado-software.fr; #for demo purposes # proxy_pass http://kuadrado-software.fr; #for demo purposes
} # }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment