Re: Secure connection failed on Firefox

2017-10-06 Thread joseph-pg
Sergey Kandaurov Wrote: --- > > On 6 Oct 2017, at 18:40, joseph-pg > wrote: > > > > Hi, > > I'm currently testing nginx 1.13.6 x64 on my development machine, > which is > > Windows 10 1703 x64, and sometimes I got a "Secure connection > failed"

Using an SSI approach with set-cookie

2017-10-06 Thread skidaddytn
I'm building a small set of configuration web pages in html/css with use of virtual SSI to make FastCGI passes to our c++ application. It works great for adding dynamic content from the code, but since my fastcgi pass occurs after the response header, I can't use set-cookie this way. Now I could

Re: Nginx CPU Issue : Remain at 100%

2017-10-06 Thread Yogesh Sharma
Issue reappeared again and CPU once goes up remains there. Will check Email Thread shared by Igal for next steps. Thanks Yogesh Sharma On Mon, 2 Oct 2017 at 4:17 AM, Igal @ Lucee.org wrote: > Hello, > > > On 9/30/2017 12:43 AM, Yogesh Sharma wrote: > > Thank you Valentin. Will give a chance.

Re: Multiple upstream_cache_status headers in response in a dual-cache configuration

2017-10-06 Thread Peter Booth
Why do you want to "realize a distributed caching layer based on disk-speed and storage?” Providing that you are running nginx on a healthy host running linux then your HDD-cache be faster (or the seem speed) as your SSD-cache. This because the cached file will be written though the Linux p

Re: Secure connection failed on Firefox

2017-10-06 Thread Sergey Kandaurov
> On 6 Oct 2017, at 18:40, joseph-pg wrote: > > Hi, > I'm currently testing nginx 1.13.6 x64 on my development machine, which is > Windows 10 1703 x64, and sometimes I got a "Secure connection failed" error > on Firefox (55.x and 56). If I hit the reload button (F5) repeatedly, the > page will e

Re: Directive inheritance

2017-10-06 Thread Lucas Rolff
Hi Francis, Thank you a lot for your response - from a directive point of view - I don't use a lot of different headers in that sense, it's really just some settings that I would want to avoid repeating again and again - I like clean configs - and generally speaking I really want to inherit as

Re: Directive inheritance

2017-10-06 Thread Francis Daly
On Fri, Oct 06, 2017 at 07:32:51PM +, Lucas Rolff wrote: Hi there, > I know that there’s some settings such as proxy_pass which can’t inherit from > the parent location or server block, however – is there any semi-easy way to > figure out if a directive in nginx or it’s modules gets inherit

Directive inheritance

2017-10-06 Thread Lucas Rolff
Hi guys, I do a lot of nginx configuration which contains plenty of “location” blocks, however – I often see myself duplicating a lot of directives throughout my configuration which can sadly make a single nginx server block about 400 lines long, often due to repeated settings. Not only is it

Re: Block specific request pattern !!

2017-10-06 Thread Francis Daly
On Fri, Oct 06, 2017 at 07:17:39PM +0500, shahzaib mushtaq wrote: Hi there, > We're serving mp4 files over NGINX with added security hash+ttl but there's > some kind of leechers accessing videos with following pattern but not > getting blocked: You seem to suggest that you have some blocking con

Re: Nginx configuration with artifactory

2017-10-06 Thread Francis Daly
On Fri, Oct 06, 2017 at 07:30:26PM +0530, Syed Imran wrote: Hi there, > My artifactory application in deployed using docker in port 8081. > But when I do a docker login, nginx always returns 405 not found. But the > web UI works find with both the ip’s. Does nginx return 405, or does nginx retu

AW: Secure connection failed on Firefox

2017-10-06 Thread Lukas Tribus
Hello, > I'm currently testing nginx 1.13.6 x64 on my development machine, which is There is no 1.13.6. > I've tested 5a3ab1b5804b, 46ddff109e72, and 924b6ef942bf and they have the > same problem. Ah so you are running directly from the development tree. In that case, I suggest to bisect it

Secure connection failed on Firefox

2017-10-06 Thread joseph-pg
Hi, I'm currently testing nginx 1.13.6 x64 on my development machine, which is Windows 10 1703 x64, and sometimes I got a "Secure connection failed" error on Firefox (55.x and 56). If I hit the reload button (F5) repeatedly, the page will eventually load. Dev tools shows: 200 OK, size 0, and trans

Re: subversion behind nginx

2017-10-06 Thread Александр Кириллов
Thanks for your answer, I suspected as much. Is there a more detailed explanation of why the paths must match? Can it be helped with rewrite rules, additional headers or changing subversion settings? I can move subversion to / on an apache host but it's gonna be twice as slow and the grand idea is

Block specific request pattern !!

2017-10-06 Thread shahzaib mushtaq
Hi, We're serving mp4 files over NGINX with added security hash+ttl but there's some kind of leechers accessing videos with following pattern but not getting blocked: https://domain.com/files/videos/2017/10/04/15071356364fc6b-720.mp4?h=n_Saa78MV6BJTcoRHwHelA&ttl=1507303734&; ?*/WhileYouWereSleepi

Nginx configuration with artifactory

2017-10-06 Thread Syed Imran
Hi, I have a VM with ip 10.130.0.198 (ssh will work within vpn) And I have another ip XXX.XXX.XXX.XXX (public ip, visible to all in internet). So I have a load balancer configuration as below, Reaching to 80 port of XXX.XXX.XXX.XXX will internally reach 10.130.0.198 80 Reaching to 443 po

Re: subversion behind nginx

2017-10-06 Thread duanemulder
HelloWith svn behind nginx you cannot change the path. The second location needs to be /repos as well=D

Re: Using request URI path to store cached files instead of MD5 hash-based path

2017-10-06 Thread Lucas Rolff
Hi, > Is it possible to change this behaviour through configuration to cache the > files using the request URI path itself, say, under the host-name directory > under the proxy_cache_path. No, it’s not possible to do that with proxy_cache, you can however do it with proxy_store ( http://nginx

Re: RE: Multiple upstream_cache_status headers in response in a dual-cache configuration

2017-10-06 Thread rnmx18
Hi, Thank you Maxim and Reinis for your replies. I verified that when the response from backend-hdd-cache gets cached in the front-end ssd-cache, the response includes the X-Upstream-Server-Cache-Status header added from the hdd-cache-upstream.Hence, I am seeing two headers in a response served by

RE: Multiple upstream_cache_status headers in response in a dual-cache configuration

2017-10-06 Thread Reinis Rozitis
> Why am I getting the header twice for the 6th request. In this case, the > request is HIT by the SSD cache itself, and there is no request sent to local > upstream also. > > So, shouldn't I be getting only one instance of the header in the response? Nginx saves the object with all the headers f

Re: Multiple upstream_cache_status headers in response in a dual-cache configuration

2017-10-06 Thread Maxim Dounin
Hello! On Fri, Oct 06, 2017 at 03:05:52AM -0400, rnmx18 wrote: [...] > For the 6th request, I see the following: > > < X-UpStream-Server-Cache-Status: HIT > < X-UpStream-Server-Cache-Status: HIT > > Why am I getting the header twice for the 6th request. In this case, the > request is HIT by th

subversion behind nginx

2017-10-06 Thread Александр Кириллов
Hi, I have 2 almost identical vhost definitions: 1. https://svn.iproducts.test location /repos/ { set $dest $http_destination; if ($http_destination ~ ^https://(.*)$) { set $dest http://$1; } proxy_set_header Destination $dest; proxy_pass http://127.0.0.1:80/repos/; } 2. https://svn-test.iprod

Multiple upstream_cache_status headers in response in a dual-cache configuration

2017-10-06 Thread rnmx18
Hi, To realize a distributed caching layer based of disk-speed and storage, I have prepared the following configuration with an SSD-cache and HDD-cache. http { add_header X-UpStream-Server-Cache-Status $upstream_cache_status; # proxy caching configurations proxy_cache_path /tmp/myss