mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 09:55:51 +03:00
[GH-ISSUE #3737] 'force HTTPS' switch not recognized when creating new (proxy) host #2468
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#2468
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?
Originally created by @shakebox on GitHub (May 3, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3737
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
When creating new (proxy, haven't tested others) host and you turn on the 'force HTTPS' switch, this setting will not be stored. You need to re-enable it manually by doing "edit" on the same host afterwards. Only then the activation of this switch is actually doing something!
Nginx Proxy Manager Version
2.11.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
when turning on any of the options switches while creating a new host, I'd expect it 'to do something' and not being ignored. For newbie users it may be dangerous because they may rely on the switch to behave as expected and never check the settings again after the initial creation.
Screenshots
Operating System
Ubuntu 22.04
Additional context
i was told from a fork user that it may be related to this:
github.com/NginxProxyManager/nginx-proxy-manager@79cd0c5294/backend/internal/host.js (L22)as this is also called for new hosts and therefore the ssl_forced is always set to 'false'!?
@manilx commented on GitHub (May 20, 2024):
I have found the same issue. This has been fine on older versions, as I'm not adding new entries all the time I just found this now.
@code-a-cola commented on GitHub (Jun 11, 2024):
happening to me as well
@github-actions[bot] commented on GitHub (Dec 27, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Jan 18, 2026):
Issue was closed due to inactivity.