Re: limit_except ignored

2016-08-21 Thread Maxim Khitrov
On Sun, Aug 21, 2016 at 1:43 PM, Maxim Khitrov wrote: > Hi, > > I'm running nginx v1.9.10 on OpenBSD with the following server definition: > > server { > listen 80; > server_name example.com; > location / { > deny all; > limit_ex

limit_except ignored

2016-08-21 Thread Maxim Khitrov
Hi, I'm running nginx v1.9.10 on OpenBSD with the following server definition: server { listen 80; server_name example.com; location / { deny all; limit_except POST { allow all; proxy_pass http://10.1.2.3; } proxy_set_header Host

Re: Serving default error pages with 'proxy_intercept_errors on'

2013-12-28 Thread Maxim Khitrov
On Sat, Dec 28, 2013 at 7:19 AM, Maxim Dounin wrote: > Hello! > > On Fri, Dec 27, 2013 at 03:47:51PM -0500, Maxim Khitrov wrote: > >> Hello, >> >> I'm running nginx v1.4.1 on OpenBSD 5.4 and I'd like to use >> 'proxy_intercept_errors on' dir

Serving default error pages with 'proxy_intercept_errors on'

2013-12-27 Thread Maxim Khitrov
Hello, I'm running nginx v1.4.1 on OpenBSD 5.4 and I'd like to use 'proxy_intercept_errors on' directive without providing my own error pages. In other words, instead of forwarding page content from the backend server, just use the error pages that nginx generates by default. This isn't supported