Skip to content

Refactor Proxied Hosts#429

Merged
bkendall merged 2 commits intomasterfrom
refactor-proxy
Apr 22, 2016
Merged

Refactor Proxied Hosts#429
bkendall merged 2 commits intomasterfrom
refactor-proxy

Conversation

@bkendall
Copy link
Copy Markdown
Contributor

@bkendall bkendall commented Apr 20, 2016

Made proxying better for going through nginx. eru and socket-proxy use this new role.

Dependencies

  • hold out for April 20th (so I can be around to support and answer questions)

Reviewers

Tests

Test any modifications on one of our environments.

Deployment (post-merge)

Ensure that all environments have the given changes.

  • deployed to epsilon
  • deployed to gamma
  • deployed to delta

location / {
expires 300;
proxy_pass http://{{ eru_server_hostname }}:{{ ports.stdout_lines[0] | trim }};
proxy_pass http://{{ target_ip_address }}:{{ eru_target_ports.stdout_lines[0] | trim }};
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

rename file to not have eru if this is generic?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this file isn't generic. the templates live in the nginx-proxied-service role and the playbooks using this role have to tell it which templates to use

@anandkumarpatel
Copy link
Copy Markdown

LGTM

@und1sk0
Copy link
Copy Markdown
Contributor

und1sk0 commented Apr 22, 2016

looks good, ship it!

@bkendall bkendall merged commit 52fcf03 into master Apr 22, 2016
@bkendall bkendall deleted the refactor-proxy branch April 22, 2016 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants