Skip to content

Add fallback to the proxy containers env for HTTPS_METHOD and HSTS #1386

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

Merged

Conversation

juliusknorr
Copy link
Contributor

@juliusknorr juliusknorr commented Jan 30, 2020

The current implementation requires each container to set the HTTPS_METHOD and HSTS environment variable individually. This pr adds an intermediate fallback to allow setting the value also on the main nginx-proxy container. If they are not set, the default will be the same as before.

@thiagotalma
Copy link

It was already merged in #1388.
Please close.

@juliusknorr
Copy link
Contributor Author

@thiagotalma No #1388 was closed not merged.

@thiagotalma
Copy link

My bad!

@jwilder jwilder merged commit b0c6c9f into nginx-proxy:master Jun 29, 2020
@juliusknorr juliusknorr deleted the enh/hsts-https-method-fallback branch July 8, 2020 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants