-
Notifications
You must be signed in to change notification settings - Fork 3k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All https except two URLs? #335
Comments
I think you should use the solution where you provide your own template to docker-gen 👍 |
Thanks Kevin. I'll take a look. I was hoping to get away with not having to modify the template somehow... |
@asmaloney I understand, but it is fairly straigtforward! Remove that line for the config and the mount that into the container instead, and then it works perfect for you! 😄 |
@kevinsimper It's not about how easy it is to make it work - it's about having Yet Another Thing to maintain. Once I modify that template I have to monitor changes to the nginx-proxy version and apply them to mine. That doesn't sound so bad, but I already have 1001 other things to keep track of (and I don't do ops full time), so if I can figure out a way to use it as is, I'd prefer to do that. |
i think your problem is too specific for this project to support your case, especial when the solution is so easy for you to archive. |
Add ^~ to location directive
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I'm using this in combination with docker-letsencrypt-nginx-proxy-companion to use Let's Encrypt SSL certs and it's working great. Easy to set up and get going.
I have a couple of URLs that have to remain http though. They are hard-coded into some software that can't be changed.
I've been looking at the nginx config docs and the nginx.tmpl file, but I don't see a way to do this. The
listen 80
block send everything to https so there's no opportunity to deal with the URLs I want.Am I reading that correctly? Is there some nginx magic I can use in one of the vhosts files included in the ssl server block to make this work?
The text was updated successfully, but these errors were encountered: