Re: Nginx and conditional logformat

2019-07-25 Thread Maxim Dounin
Hello! On Thu, Jul 25, 2019 at 05:08:30AM -0400, cell...@gmail.com wrote: > Hi All, > we tried to add some debug information into our access_log for a service > with a client certificate authentication. Actually we print some information > related to the clients but we would print into the logs t

Re: Nginx cache-control headers issue

2019-07-25 Thread Andrew Andonopoulos
Hi Francis, Nginx decide which content to cache based on the configuration under "Location" + the cache key? For example I have proxy_cache which means will cache everything which match the specific location? I don't yet why I am getting cache miss for all the token based requests (m3u8 & ts)

Re: Multiple server_name directives?

2019-07-25 Thread rainer
Am 2019-07-25 12:09, schrieb basti: You can also use multiple names in one line. http://nginx.org/en/docs/http/server_names.html Yes, that is also what I would consider the default. I just came across the other format and I was honestly surprised it actually worked. _

Re: Multiple server_name directives?

2019-07-25 Thread basti
You can also use multiple names in one line. http://nginx.org/en/docs/http/server_names.html On 25.07.19 11:59, rai...@ultra-secure.de wrote: > Hi, > > > I found that using multiple > > server_name bla; > server_name blu; > > directives seems to actually work. > > At least in 1.12. > > > C

Multiple server_name directives?

2019-07-25 Thread rainer
Hi, I found that using multiple server_name bla; server_name blu; directives seems to actually work. At least in 1.12. Can someone from @nginx comment on whether using that is a good idea? Or is that deprecated already? The documentation doesn't mention it. Best Regards Rainer _

Nginx and conditional logformat

2019-07-25 Thread cell...@gmail.com
Hi All, we tried to add some debug information into our access_log for a service with a client certificate authentication. Actually we print some information related to the clients but we would print into the logs the client certificate sent by the client during the handshake in case of error. We t

How do I add multiple proxy_pass

2019-07-25 Thread blason
Hi, I have nginx with version 1.10.1 and have below scenario which I am not able to figure it out. My reverse proxy set it up as www.example.com and location / is set it as location / { proxy_pass https://www.example.com:8084; Now URL is getting opened properly when I login it again dive