mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-28 10:55:54 +03:00
[GH-ISSUE #1214] wildcard redirect http to https #990
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#990
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 @AznRaven on GitHub (Jul 1, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1214
Feature Request
I have a synology nas that will handle all the ssl certs. but it's not redirecting http to https
Is NPM able to redirect all http traffic to https? Right now, I'm redirecting 1 source to 1 destination in the Redirection Hosts and it works.
But what I want is a single redirect command that will redirect all
http --> *.domain.com --> 301 --> https --> *.domainIs your feature request related to a problem? Please describe.
When you have 10-20 dockers that need http to https redirection. it can be a pain doing it 1 by 1 for each redirect.
Describe the solution you'd like
A wildcard redirect would be awesome. 1 redirect command to redirect all http traffic to https.
Describe alternatives you've considered
I've thought about using the regular nginx and changing the block code.
But I prefer the Nginx Proxy Manager GUI.
Additional context
Maybe if you allow block code in Nginx Proxy Manager for advanced users. That would solve a lot of problems.
Being able to edit server blocks will help more advanced users to fine tune their setup.
@mrfy commented on GitHub (Jan 14, 2022):
Hi @AznRaven , how did you redirect it from NPM?
Thanks
@zierbeek commented on GitHub (Mar 4, 2022):
how should this be used? I'm having this issue with all of my services not getting automatically redirect to https
@srvoets commented on GitHub (Mar 11, 2022):
same
@tingjie02 commented on GitHub (Apr 5, 2022):
just tick Force SSL
@plusdove commented on GitHub (Oct 31, 2022):
tick Force SSL not work, how should this be used? I'm having this issue with all of my services not getting automatically redirect to https, always show 400 bad request
@tomlawesome commented on GitHub (Nov 7, 2022):
This doesn't work. SSL is not in fact forced.
@Qifcn commented on GitHub (Feb 10, 2023):
error_page 497 301 =307 https://$host:4443$request_uri;注意空格 4443改成你 自己的端口
@github-actions[bot] commented on GitHub (Mar 8, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Apr 21, 2025):
Issue was closed due to inactivity.