Skip to content
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

add support for nginx #92

Merged
merged 2 commits into from
Jun 20, 2014
Merged

add support for nginx #92

merged 2 commits into from
Jun 20, 2014

Conversation

dbu
Copy link
Contributor

@dbu dbu commented Jun 18, 2014

fix #74

@dbu
Copy link
Contributor Author

dbu commented Jun 18, 2014

not tested in a real project however.

@ddeboer
Copy link
Member

ddeboer commented Jun 18, 2014

Nice! Can you also add a doc chapter?

@@ -255,6 +255,28 @@ private function addProxyClientSection(ArrayNodeDefinition $rootNode)
->end()
->end()
->end()

->arrayNode('nginx')
->children()
Copy link
Member

Choose a reason for hiding this comment

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

you miss the call ->fixXmlConfig('server')

Configuration
=============

Debug Header
Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved from the proxy client config. does not belong into any section really. should i move it to the end of this file?

Copy link
Member

Choose a reason for hiding this comment

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

Why doesn't it belong in proxy client config?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the proxy client sends requests to the proxy. the debug header setting wants to add a header to responses - its handled by the cache header subscriber as its closest to that one.

Copy link
Member

Choose a reason for hiding this comment

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

Completely right, of course!

@dbu dbu mentioned this pull request Jun 20, 2014
@ddeboer
Copy link
Member

ddeboer commented Jun 20, 2014

@dbu Does this need more testing or do you just want to merge this?

@dbu dbu mentioned this pull request Jun 20, 2014
dbu added a commit that referenced this pull request Jun 20, 2014
@dbu dbu merged commit cd16fc3 into master Jun 20, 2014
@dbu dbu deleted the nginx-config branch June 20, 2014 08:47
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.

Add Nginx configuration
3 participants