wildcard redirect http to https
See original GitHub issueFeature 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.
http --> a.domain.com --> 301 --> https --> a.domain.com
http --> b.domain.com --> 301 --> https --> b.domain.com
But what I want is a single redirect command that will redirect all
http --> *.domain.com --> 301 --> https --> *.domain
Is 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.
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
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.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:6
Top GitHub Comments
just tick Force SSL
This doesn’t work. SSL is not in fact forced.