Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jasonpincin
Copy link
Contributor

Added additional "best practice" headers on the proxied request:

  • X-Forwarded-Proto
  • X-Real-IP
  • X-Forwarded-For

Also removed some redundancy within the config to further simplify and streamline it.

"interfaces": ["eth0"]
},
{
"name": "nginx-public-ssl",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I understand this bit: why do we have two health checks of the same port?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One test is on the private interface, one is on the public interface.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha, and I'm seeing that I also missed that one does the acme init too.

@tgross
Copy link
Contributor

tgross commented Jan 12, 2017

For some reason we never merged this. Any reason not to @jasonpincin @misterbisson?

@jasonpincin
Copy link
Contributor Author

No reason other than maybe I didn't see a LGTM?

@misterbisson
Copy link
Contributor

🏡 🚶

@jasonpincin jasonpincin merged commit 0ab0045 into autopilotpattern:master Jan 13, 2017
@jasonpincin jasonpincin deleted the additional-headers branch January 13, 2017 21:46
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