Josh Samuelson
12dfb7e98d
Support for proxy_hide_header directive.
...
I need this to hide X-Frame-Options for a single location block.
From nginx docs:
By default, nginx does not pass the header fields “Date”, “Server”,
“X-Pad”, and “X-Accel-...” from the response of a proxied server to a
client. The proxy_hide_header directive sets additional fields that will
not be passed.
2016-05-12 09:09:16 -07:00
herwig Bogaert
40d157482e
Allow multiple 'proxy_cache_valid' directives
2016-03-25 11:28:26 +00:00
gerases
83043627f5
Remove extra white space
2016-01-20 15:29:17 -06:00
Jacob McCoy Wade
66524e22b4
Adding ability to add proxy_cache_use_stale and proxy_cache_key within a location resource
...
Adding spec tests for proxy_cache_key and proxy_cache_use_stale
2015-06-01 14:32:26 -07:00
Matthew Haughton
3027d9f35a
location: move auth_basic directives to header
...
Allows setting these directives on any location:
* auth_basic
* auth_basic_user_file
2015-04-13 22:58:57 -04:00
paschdan
708be8263d
moves rewrite_rules to location_header
...
so it can be used by all location-types
2014-12-11 17:43:33 +01:00
Carl P. Corliss
fb880576a6
cleanup resultant whitespace and key/value alignment in config files
...
- fix tests related to whitespace changes
2014-09-13 04:13:18 -04:00
Pablo Fredrikson
ac1e9b70f6
Removed proxy_cache_valid as default when using proxy_cache option
...
Added some tests also
2014-09-03 18:39:55 -03:00
Carl P. Corliss
33303102fc
refactor locations to remove a bit of redundancy
2014-06-23 17:41:21 -04:00