Re: x-real-ip issue

2017-08-28 Thread CJ Ess
That was it! I added "set_real_ip_from 127.0.0.1/32;" and now I'm getting the results I expected. Thank you! On Mon, Aug 28, 2017 at 4:27 PM, Richard Stanway wrote: > You're connecting to localhost (127.0.0.1) and your set_real_ip_from only > accepts X-Forwarded-For from 172.0.0.0/8. > > On Mon

Re: x-real-ip issue

2017-08-28 Thread Richard Stanway
You're connecting to localhost (127.0.0.1) and your set_real_ip_from only accepts X-Forwarded-For from 172.0.0.0/8. On Mon, Aug 28, 2017 at 8:25 PM, CJ Ess wrote: > I've been struggling all day with this, I'm missing something, hoping > someone can point out what I'm doing wrong w/ the realip mo

x-real-ip issue

2017-08-28 Thread CJ Ess
I've been struggling all day with this, I'm missing something, hoping someone can point out what I'm doing wrong w/ the realip module: nginx.conf: ... log_format xyz '$remote_addr - $remote_user [$time_iso8601] ' '"$request" $status $body_bytes_sent ' '"$h

Re: Poor UDP transparent proxy performance

2017-08-28 Thread Richard Stanway
UDP packets are proxied individually - one socket per packet. This implementation is not suitable for bulk traffic. On Mon, Aug 28, 2017 at 6:40 PM, 231done wrote: > Hi, > I'm running nginx-1.13.4 and I observe that UDP transparent proxying > for > bulk traffic is very slow when compared to

Re: disable request body buffering for file upload

2017-08-28 Thread Reinis Rozitis
Do you mind sharing your "PHP.ini" solution so that others know what changes to make to their "PHP.ini" to solve the same dilemma ? http://php.net/manual/en/ini.core.php#ini.upload-tmp-dir It's usually not set so by default on most linux distros ends up being /tmp rr __

Re: disable request body buffering for file upload

2017-08-28 Thread c0nw0nk
garyc Wrote: --- > Please ignore the last message, having learned a bit more about > probing the file system we can now see that it is PHP that is caching > the file to the system default location (hence rootfs) a small change > to the PHP configu

Poor UDP transparent proxy performance

2017-08-28 Thread 231done
Hi, I'm running nginx-1.13.4 and I observe that UDP transparent proxying for bulk traffic is very slow when compared to TCP transparent proxying. I get about 4.00 Gbits/sec when using TCP and about 1.05 Mbits/sec when using UDP. I used iperf to run traffic tests. Is this a known issue? If it is

Re: disable request body buffering for file upload

2017-08-28 Thread garyc
Please ignore the last message, having learned a bit more about probing the file system we can now see that it is PHP that is caching the file to the system default location (hence rootfs) a small change to the PHP configuration has sorted this. Thanks to everyone for your help Gary Posted at Ng