Re: Nginx as Reverse Proxy for multiple servers binded to proxy using UNIX sockets - how to reached in LAN

2018-09-26 Thread Stefan Müller
Hi, it got quite late, so I'll try to keep it short and simple. My question is the outcome on my discussion on reddit- one single user per web server (and delete default Web server user) - possible and consequences?. I have a Synology NAS what runs a ngi

Re: Configuration problem: request default 15.15.15.15/ not working

2018-09-26 Thread Frank_Mascarell
Effectively it was necessary to restart gunicorn every time that I modify the file urls.py so that the changes take effect. I did not know that. I did it like that: $ systemctl daemon-reload $ systemctl restart gunicorn Thanks for the help. Posted at Nginx Forum: https://forum.nginx.org/read.

Nginx caching proxy dns name even when using variables

2018-09-26 Thread Rob Fulton
Hi, I'm using nginx to proxy to a host with a rapidly changing dns entry but I can't seem to get the proxy command the re-query dns using the vairable method suggested, the following is a excerpt from my config : server {     listen 443 ssl;     resolver 127.0.0.1 valid=20s;     set $proxy_

Re: Enabling "Transfer-Encoding : chunked"

2018-09-26 Thread Maxim Dounin
Hello! On Wed, Sep 26, 2018 at 04:49:42AM -0400, anish10dec wrote: > We are using Nginx with DAV Module , where encoder is pushing the content. > These content when being accessed is not coming with header > "Transfer-Encoding : chunked" though these header is being added by > Encoder. This is

Re: Nginx as Reverse Proxy for multiple servers binded to proxy using UNIX sockets - how to reached in LAN

2018-09-26 Thread Stefan Mueller
I've just entered office :(. I will try to give you more details later this day. Le mer. 26 sept. 2018 à 12:52, Reinis Rozitis a écrit : > > I added include for the location config files may it makes it better > readable but still no clue hoiw to reach UNIX socket proxied webserver in > LAN. > >

RE: Nginx as Reverse Proxy for multiple servers binded to proxy using UNIX sockets - how to reached in LAN

2018-09-26 Thread Reinis Rozitis
> I added include for the location config files may it makes it better readable > but still no clue hoiw to reach UNIX socket proxied webserver in LAN. It's a bit unclear what is the problem or what you want to achieve? The nginx can't connect/proxy_pass to the socket files (what's the error)?

RE: RE: Configuration problem: request default 15.15.15.15/ not working

2018-09-26 Thread Reinis Rozitis
> I've also tried adding "/" and throwing the same error. I have also added to > the > .conf file: > > location = / { > include proxy_params; > proxy_pass http://unix:/run/gunicorn.sock; } > > before the fragment location / {..} with the same error. > This error is very stran

Re: Nginx as Reverse Proxy for multiple servers binded to proxy using UNIX sockets - how to reached in LAN

2018-09-26 Thread Stefan Müller
Hallo, I added include for the location config files may it makes it better readable but still no clue hoiw to reach UNIX socket proxied webserver in LAN. main proxy file server { listen 80; listen [::]:80; listen 443 ssl; listen [::]:4

Re: Enabling "Transfer-Encoding : chunked"

2018-09-26 Thread anish10dec
We are using Nginx with DAV Module , where encoder is pushing the content. These content when being accessed is not coming with header "Transfer-Encoding : chunked" though these header is being added by Encoder. Below is version details : nginx version: nginx/1.10.2 built by gcc 4.8.5 20150623