This commit is contained in:
Nicolas Bally 2018-09-16 23:38:33 +02:00
parent 86c5f4c26f
commit 20636f4ffb

View File

@ -31,8 +31,9 @@ server {
error_page 500 502 503 504 /500.html; error_page 500 502 503 504 /500.html;
client_max_body_size 4G; client_max_body_size 4G;
keepalive_timeout 10; keepalive_timeout 10;
}
include snippets/letsencrypt.conf;
}
@ -41,5 +42,8 @@ server {
server { server {
listen [::]:80; listen [::]:80;
server_name ballalama.com www.ballalama.com ballalama3.quartz.xyz; server_name ballalama.com www.ballalama.com ballalama3.quartz.xyz;
rewrite ^(.*) https://ballalama.com$1 permanent;
return 301 https://ballalama.com$request_uri;
include snippets/letsencrypt.conf;
} }