-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed as not planned
Description
Checklist
-
Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker image?
YES, pulled today. -
Are you sure you're not using someone else's docker image?
Yes,jc21/nginx-proxy-manager:latest -
If having problems with Lets Encrypt, have you made absolutely sure your site is accessible from outside of your network? Not useing Lets Encrypt, but using custom SSL certs.
Describe the bug
- A clear and concise description of what the bug is.
After adding a Proxy host using a custom SSL cert (I don't think this matters, but might) with the Force SSL option enabled the site redirects a expected, but when I add a Custom location, with Force SSL still enabled the redirection for HTTP to HTTPS no longer works or these lines are removed.
# Force SSL
include conf.d/include/force-ssl.conf;
These line can be be added back using the Advanced tab as a workaround. It seems the Force SSL is skipped when a Custom location is being used.
- What version of Nginx Proxy Manager is reported on the login page?
v2.0.14
To Reproduce
Steps to reproduce the behavior:
- Add a new Proxy host with Force SSL enabled.
- Check the generated config file to confirm it has the force SSL lines.
data/nginx/proxy_host/1.conf - Add a Custom location.
- Check the generated config file to confirm it has the force SSL lines are now missing.
Expected behavior
To continue to include the force-ssl.conf file when a custom location is added.