mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[PR #433] [MERGED] fix: http-to-https use $host and 308 #4040
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#4040
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/0xJacky/nginx-ui/pull/433
Author: @wcbing
Created: 7/5/2024
Status: ✅ Merged
Merged: 7/6/2024
Merged by: @0xJacky
Base:
dev← Head:patch-1📝 Commits (2)
bd66092fix: http-to-https use $host and 301ff7e3e7fix: http-to-https use 301📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
template/block/http-to-https.conf(+2 -2)📄 Description
使用 $server_name 在使用通配符域名等情况下无法跳转,建议使用 $host。
强制HTTPS我觉得应该是永久重定向比较好吧。
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.