Speed up file upload via nginx post

2017-03-30 Thread ulissestoga
I'm using nginx in amazon ec2, I use a laravel system for loading images. Both KB and MB images take a long time to upload. I would like a help to implement in nginx some module that leaves the loading faster. I use nginx 1.10.2. Thank you Posted at Nginx Forum: https://forum.nginx.org/read.php?

best practise with lua files

2017-03-30 Thread Alex Samad
Hi I have started to use lua file for some dynamic stuff. Whats the best practice to secure them How do I stop them from being downloaded location ~ \.lua$ { send error back } is it best to place all of them into a different directory that isn't under a root ? A _

proxy pass issue

2017-03-30 Thread 3achour
hi dear, pls help im really stuck. heres my situation theres a website when i copy as curl from chrome i got this: curl 'https://cdn.livetvhd.net/proxy/http://38.99.146.36:/SpaceToonArabic_HD/SpaceToonArabic_High/19172.ts?user=sgls-1&session=3a39537463f8621b199d049b0a85a34ed7f4c88ee89d807565

how to proxy a proxy (subrequest with corporate proxy)

2017-03-30 Thread CeeGeeDev
Greetings, Our custom nginx module implements a number of subrequests (REST calls to other servers to obtain data for our business logic). Everything is working correctly, except one customer requires a corporate HTTP web proxy for the URL (running on a different server) that our subrequests will

Re: fastcgi_pass and http upstream

2017-03-30 Thread Vucomir Ianculov via nginx
Hi i have search on the documentation but i was not able to find it, can you please give me an example on who it's done? Thanks. - Original Message - From: "Yuriy Medvedev" To: nginx@nginx.org Cc: "Vucomir Ianculov" Sent: Wednesday, March 22, 2017 9:57:40 PM Subject: Re: fast

Re: proxy_protocol not accepting TCP connection

2017-03-30 Thread Maxim Dounin
Hello! On Thu, Mar 30, 2017 at 08:27:15AM +, Kilian Ries wrote: > Hi, > > i configured my nginx with proxy_protocol, ssl and http2: > > server { > listen 443 ssl http2 proxy_protocol; > > … > } > > Now nginx is accepting proxy_protocol connections but not normal > TCP connections

Re: Nginx upstream server certificate verification

2017-03-30 Thread Sergey Kandaurov
> On 30 Mar 2017, at 09:59, shivramg94 wrote: > > I am trying to implement HTTPS protocol communication at every layer of a > proxying path. My proxying path is from client to load balancer (nginx) and > then from nginx to the upstream server. > > I am facing a problem when the request is prox

proxy_protocol not accepting TCP connection

2017-03-30 Thread Kilian Ries
Hi, i configured my nginx with proxy_protocol, ssl and http2: server { listen 443 ssl http2 proxy_protocol; … } Now nginx is accepting proxy_protocol connections but not normal TCP connections. Is there any change to let nginx accept both connection types? I have a situation where are

Nginx upstream server certificate verification

2017-03-30 Thread shivramg94
I am trying to implement HTTPS protocol communication at every layer of a proxying path. My proxying path is from client to load balancer (nginx) and then from nginx to the upstream server. I am facing a problem when the request is proxied from nginx to the upstream server. I am getting the fol