Re: Nginx remote access_log file

2016-08-16 Thread Reinis Rozitis
How can i store the accsess_log Nginx file in the second machine ? Or how can i set the a Logstash remote input file ? Should I user an other tool like logsatsh-forwarder ? You can just write the nginx access log via syslog directly to logstash (or if you don't want that nginx writes something

Nginx remote access_log file

2016-08-16 Thread khalifanizar
Hello, Actually, I have Nginx and Logstash installed on the same machine. And i want to separate them. I was installed Logstash in an other machine. How can i store the accsess_log Nginx file in the second machine ? Or how can i set the a Logstash remote input file ? Should I user an other

AW: HTTP/2 without forward secrecy (Diffie-Hellman)

2016-08-16 Thread Lukas Tribus
> This is a false statement, nginx doesn't do any restriction > regarding HTTP/2 and TLS ciphers configuration. Good thing, likely the restriction is on the browser side and Apache was not configured with the same exact cipher suite. > The list you are mentioning and which is directly linked i

Re: HTTP/2 without forward secrecy (Diffie-Hellman)

2016-08-16 Thread Valentin V. Bartenev
On Tuesday 16 August 2016 15:55:13 B.R. wrote: [..] > nginx has made the choice​ of strictly following RFC advice [..] This is a false statement, nginx doesn't do any restriction regarding HTTP/2 and TLS ciphers configuration. wbr, Valentin V. Bartenev _

Re: HTTP/2 without forward secrecy (Diffie-Hellman)

2016-08-16 Thread B.R.
On Mon, Aug 15, 2016 at 3:04 PM, Lukas Tribus wrote: > > For that I need to disable forward secrecy (since it is only a test > > environment security is not an issue) > > > > So I changed the "ssl_ciphers" in my /sites-enabled/default file from: > > > > ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNUL

Nginx | fastcgi_cache_key $http_cookie for Joomla

2016-08-16 Thread c0nw0nk
So i found the following for Drupal https://forum.nginx.org/read.php?2,220510,220563#msg-220563 http { map $http_cookie $session_id { default ''; ~SESS(?[[:alnum:]]+) $session_guid; } } server { location ~ \.php$ { fastcgi_cache_key $session_cookie$request_method$scheme$host$request_uri; } } And

AW: AW: Disabling HTTP/2 for a specific location

2016-08-16 Thread Lukas Tribus
Hello, On 08/16/16 07:37, Lukas Tribus wrote: >> I use nginx 1.11.3 with nginx upload module.The problem is that Nginx upload >> module don't support HTTP/2 and thus when you upload you get 500 Internal >> Error. > >> Use a dedicated subdomain, like upload.mywebsite.com. > > This will not work unl

Re: AW: Disabling HTTP/2 for a specific location

2016-08-16 Thread Jim Ohlstein
Hello, On 08/16/16 07:37, Lukas Tribus wrote: I use nginx 1.11.3 with nginx upload module.The problem is that Nginx upload module don't support HTTP/2 and thus when you upload you get 500 Internal Error. Use a dedicated subdomain, like upload.mywebsite.com. This will not work unless the subd

AW: Disabling HTTP/2 for a specific location

2016-08-16 Thread Lukas Tribus
> I use nginx 1.11.3 with nginx upload module.The problem is that Nginx upload > module don't support HTTP/2 and thus when you upload you get 500 Internal > Error. Use a dedicated subdomain, like upload.mywebsite.com. > For now i am trying to use  a separate server block to disable http2 just >

Disabling HTTP/2 for a specific location

2016-08-16 Thread khav
I use nginx 1.11.3 with nginx upload module.The problem is that Nginx upload module don't support HTTP/2 and thus when you upload you get 500 Internal Error. For now i am trying to use a separate server block to disable http2 just for the upload and enable it for the rest server { listen 443;

Whitelisting IPs from Certificate Based Authentication

2016-08-16 Thread Zeal Vora
Hi We have a Certificate Based Authentication for one of our websites. We want that if users visit from Office IP's then they should not have to go via Certificate Based Authentication. Rest for all, Authentication is necessary. What would be the ideal way of doing this ? I believe $remote_addr

Logging application errors in the wrong place

2016-08-16 Thread robbanp
Hi, I use Nginx with Passenger and the problem I have is that I get "some" application log entries in /var/log/nginx/error.log. The problem is that the log is turned off and also pointing to another location (/mnt/nginx/logs/): My configs: nginx.conf http error_log /mnt/nginx/logs/err