mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[PR #3360] [MERGED] only add hsts header with https. #3685
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#3685
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/NginxProxyManager/nginx-proxy-manager/pull/3360
Author: @DarioViva42
Created: 12/2/2023
Status: ✅ Merged
Merged: 1/8/2024
Merged by: @jc21
Base:
develop← Head:hsts-only-with-https📝 Commits (1)
289e438only add hsts header with https.📊 Changes
6 files changed (+15 additions, -1 deletions)
View changed files
📝
backend/templates/_hsts.conf(+1 -1)➕
backend/templates/_hsts_map.conf(+3 -0)📝
backend/templates/_location.conf(+2 -0)📝
backend/templates/dead_host.conf(+3 -0)📝
backend/templates/proxy_host.conf(+3 -0)📝
backend/templates/redirection_host.conf(+3 -0)📄 Description
fixes https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1005 for more information look at: https://websistent.com/add-the-hsts-header-only-for-https-requests-nginx/
It would be really great if you could check if this solution really works.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.