From b4f11d3ee7eec5d7756497b8a5faa8031d00a2d5 Mon Sep 17 00:00:00 2001 From: dallaslu Date: Fri, 5 Jun 2026 03:55:19 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20ssl/force.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ssl/force.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 ssl/force.conf diff --git a/ssl/force.conf b/ssl/force.conf new file mode 100644 index 0000000..293f883 --- /dev/null +++ b/ssl/force.conf @@ -0,0 +1,3 @@ +if ($scheme = http) { + return 307 https://$http_host$request_uri; +} \ No newline at end of file