Re: Unable to escape $ sign in subs_filter

2017-10-11 Thread joseph-pg
omar_h Wrote: --- > Hello, > > I am trying to add some code to a page which contains a $ symbol. > However, I am getting the following error: > > nginx: [emerg] invalid variable name > > Here is a simple example of the config: > > subs_filter

Re: [alert] epoll_ctl(1, 575) failed (17: File exists)

2017-10-11 Thread Richard Stanway via nginx
On Wed, Oct 11, 2017 at 4:14 PM, Valentin V. Bartenev wrote: > > Websockets cannot work over HTTP/2. > > So it appears, I guess I should have checked that! Upon closer examination, all the 101 responses I was seeing in the access log were from HTTP/1.1 clients, the HTTP 2 requests never even got

Re: [alert] epoll_ctl(1, 575) failed (17: File exists)

2017-10-11 Thread Valentin V. Bartenev
On Wednesday 11 October 2017 15:58:28 Richard Stanway via nginx wrote: > Hello, > I have a location that proxies to a websocket server. Clients connect over > HTTPS (HTTP2, wss://). Sometimes clients generate the following alerts in > the error log when hitting the websocket location: > > 2017/10/

[alert] epoll_ctl(1, 575) failed (17: File exists)

2017-10-11 Thread Richard Stanway via nginx
Hello, I have a location that proxies to a websocket server. Clients connect over HTTPS (HTTP2, wss://). Sometimes clients generate the following alerts in the error log when hitting the websocket location: 2017/10/11 21:03:23 [alert] 34381#34381: *1020125 epoll_ctl(1, 603) failed (17: File exists

Re: Unable to escape $ sign in subs_filter

2017-10-11 Thread Maxim Dounin
Hello! On Tue, Oct 10, 2017 at 07:06:40PM -0400, omar_h wrote: > Hello, > > I am trying to add some code to a page which contains a $ symbol. However, > I am getting the following error: > > nginx: [emerg] invalid variable name > > Here is a simple example of the config: > > subs_filter 'exa

Re: Selection of server in upstream directive using hash

2017-10-11 Thread Ruben
Well I'd expect that when using "server chat" as per the docs: "A domain name that resolves to several IP addresses defines multiple servers at once." the hash wouldn't be consistent on choosing the name, but on the server list, because it defines multiple servers. 2017-10-09 12:23 GMT+02:00 Rom

Re: index.php and autoindex on

2017-10-11 Thread basti
Hello again, OK i have fixed it. On 11.10.2017 09:58, basti wrote: > Hello, > > i have a config look like > > server { >servername example.com > > >location /foo { > index index.php; > proxy_pass ... > ... >} > > root /some/path; > autoindex on; > ... > } >

docker login always returns success

2017-10-11 Thread Syed Imran
Hi, I have artifactory installed with docker & nginx integrated. What ever credentials i give, always returns "Login succeeded" Below is the log. Can this be something related to firewall block. Because application side log always shows up saying Login Denied. test@finland-artifactory:~$ docker

index.php and autoindex on

2017-10-11 Thread basti
Hello, i have a config look like server { servername example.com location /foo { index index.php; proxy_pass ... ... } root /some/path; autoindex on; ... } I want Autoindex if url is example.com/ and want to run index.php if url is example.com/foo but in