diff --git a/config/nginx.conf b/config/nginx.conf index bd300db..3410664 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -31,15 +31,19 @@ server { error_page 500 502 503 504 /500.html; client_max_body_size 4G; keepalive_timeout 10; + + include snippets/letsencrypt.conf; } - server { listen [::]:80; 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; +} \ No newline at end of file