-
Notifications
You must be signed in to change notification settings - Fork 80
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
Conversation
not tested in a real project however. |
Nice! Can you also add a doc chapter? |
@@ -255,6 +255,28 @@ private function addProxyClientSection(ArrayNodeDefinition $rootNode) | |||
->end() | |||
->end() | |||
->end() | |||
|
|||
->arrayNode('nginx') | |||
->children() |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 Does this need more testing or do you just want to merge this? |
fix #74