From da7c9248c6fa95c5031522cc824300dbb62642d9 Mon Sep 17 00:00:00 2001 From: KMY Date: Fri, 22 Sep 2023 08:00:03 +0900 Subject: [PATCH] Remove forwarding http->https from conf file --- dist/nginx-before-certbot.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/dist/nginx-before-certbot.conf b/dist/nginx-before-certbot.conf index 221b949e70e1dd..bc8aedfe77ac76 100644 --- a/dist/nginx-before-certbot.conf +++ b/dist/nginx-before-certbot.conf @@ -4,5 +4,4 @@ server { server_name example.com; root /home/mastodon/live/public; location /.well-known/acme-challenge/ { allow all; } - location / { return 301 https://$host$request_uri; } }