This commit is contained in:
Dallas Lu 2026-06-09 14:41:15 +08:00
parent c50569d73e
commit a624163120
No known key found for this signature in database
27 changed files with 215 additions and 6 deletions

View file

@ -1,3 +1,5 @@
# Keep alias canonicalization method-preserving. This is safer than 301 when a
# non-idempotent request accidentally hits an alias host.
if ($host != $server_name) {
return 307 $scheme://$server_name$request_uri;
}