mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[PR #23] [MERGED] Added default HTTPs site. #3178
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#3178
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/23
Author: @jlesage
Created: 11/2/2018
Status: ✅ Merged
Merged: 11/4/2018
Merged by: @jc21
Base:
master← Head:default-https-site📝 Commits (1)
20fd185Added default HTTPs site.📊 Changes
2 files changed (+28 additions, -0 deletions)
View changed files
📝
rootfs/etc/nginx/conf.d/default.conf(+14 -0)📝
rootfs/etc/services.d/nginx/run(+14 -0)📄 Description
Without a default site for HTTPs, another configured host will be wrongly used.
For example, when trying to access, via HTTP, a host that has not been setup yet, we get the "Congratulations" page as expected. However, doing the same via HTTPs does't show this default page, but shows a configured proxy host (for which SSL is enabled).
The same issue happen when configuring a host without enabling SSL: Access the host over HTTP works fine, but accessing the same host via HTTPs will show the page associated to another configured host.
Since there is no certificate associated to the default site, its configuration only return the special code
444, which makes nginx to close the connection.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.