Re: AES-NI support with nginx

2015-02-19 Thread Kurt Cancemi
AES-NI is already on, there is no configuration option and it will work as long as your cpu supports it. --- Kurt Cancemi https://www.x64architecture.com On Thu, Feb 19, 2015 at 10:37 PM, Anlu Wang wrote: > Hi, > > Is AES-NI is enabled in nginx 1.7.10 by default, through the openssl evp > libra

AES-NI support with nginx

2015-02-19 Thread Anlu Wang
Hi, Is AES-NI is enabled in nginx 1.7.10 by default, through the openssl evp library (https://www.openssl.org/docs/crypto/evp.html), or does it have to be enabled somehow? ssl_engine aesni; gives me an error upon testing the configuration. Thanks, Anlu ___

Request entry too large!

2015-02-19 Thread giumbai
I have Owncloud installed behind Nginx reverse proxy. The comfiguration is: upstream hcloud { server 10.1.2.10:80 fail_timeout=0; } #server { # listen 80; # return 301 https://$host$request_uri; #} server { listen 443; server_name hcloud.domain.tld; ssl on; ssl_certificate /etc/ngi

Re: Connection statuses

2015-02-19 Thread K Young
In nginx Open, it looks like when a connection can't be assigned to a request, it is dropped and not enqueued for later processing. Is this correct? If so is the number of dropped connections equal to the difference between active and handled? On Thu, Feb 19, 2015 at 10:34 AM, Valentin V. Bartenev

Re: Request for thoughts / feedback: Guide on Nginx Monitoring

2015-02-19 Thread noahlh
Thanks for the kind words mex -- also thank you for the nagios plugin info -- adding that to my monitoring toolbelt. Some more specific questions for you and others re: the guide I wrote: - Are there any "essential" metrics I'm missing? I listed the 14 that I think are the most critical. - Are t

Re: Reporter looking to talk about the Silk Road Case / Special Agent Chris Tarbell

2015-02-19 Thread Matthew Phelan
Hey, all. Firstly, I want to apologize, if anyone finds me trawling for expert opinions on this list, in any way, irritating. Secondly, I am still hoping to find someone with thorough knowledge of nginx who might be able to speak this debate about the Icelandic server in the Silk Road trial. Jus

Re: $upstream_addr containing the same ip twice

2015-02-19 Thread Maxim Dounin
Hello! On Thu, Feb 19, 2015 at 12:11:58PM -0600, Kunal Pariani wrote: > Can you please tell me other such cases where this could happen ? E.g., this can also happen when using an upstream{} with keepalive connections cache configured. > Can't think of any in my scenario atleast. It's only who

Re: Using Nginx as proxy mail server

2015-02-19 Thread Guest13778
Hey! That's a good point. Yes I read about postfix too, but I wasn't very sure, but thank you for that idea. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256800,256812#msg-256812 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.

Re: $upstream_addr containing the same ip twice

2015-02-19 Thread Kunal Pariani
Can you please tell me other such cases where this could happen ? Can't think of any in my scenario atleast. Thanks -Kunal - Original Message - From: "Maxim Dounin" To: nginx@nginx.org Sent: Thursday, February 19, 2015 9:23:16 AM Subject: Re: $upstream_addr containing the same ip twice

Re: Using Nginx as proxy mail server

2015-02-19 Thread Axel
Hello, why do you want to use nginx for that? I'd suggest to use postfix with a minimal configuration. That's what postfix is designed to do and there are some howtos. regards, Axel Am Donnerstag, 19. Februar 2015, 10:27:18 schrieb Guest13778: > Hello! > > Would it be possible to set up a

Re: $upstream_addr containing the same ip twice

2015-02-19 Thread Maxim Dounin
Hello! On Thu, Feb 19, 2015 at 08:49:33AM -0800, Kunal Pariani wrote: > I have just one server configured with a single Ip address but I still see > this. The example case mentioned isn't the only case when this can happen legitimately. -- Maxim Dounin http://nginx.org/ _

Re: $upstream_addr containing the same ip twice

2015-02-19 Thread Kunal Pariani
I have just one server configured with a single Ip address but I still see this. Thanks -Kunal On Feb 19, 2015 5:05 AM, "Maxim Dounin" wrote: > Hello! > > On Wed, Feb 18, 2015 at 09:03:47PM -0600, Kunal Pariani wrote: > > > Hello, > > I have just 1 backend server being reverse-proxied through ng

Re: Connection statuses

2015-02-19 Thread Valentin V. Bartenev
On Thursday 19 February 2015 10:12:02 K Young wrote: > Thanks Maxim, that's what I needed to know. > > How common would you say it is to use accept filters / deferred accept on > nginx in production? > > Also to be perfectly certain: connections.idle >

Using Nginx as proxy mail server

2015-02-19 Thread Guest13778
Hello! Would it be possible to set up a Nginx server that will proxy emails to a cPanel server? For example I set up a simple VPS server with IP 10.0.0.1 and then I set my domain's MX record to mail.mydomain.com which points 10.0.0.1 so that tiny VPS server will send all emails to my cPanel serve

Re: Connection statuses

2015-02-19 Thread K Young
Thanks Maxim, that's what I needed to know. How common would you say it is to use accept filters / deferred accept on nginx in production? Also to be perfectly certain: connections.idle in Plus is the same as Waiting

Re: $upstream_addr containing the same ip twice

2015-02-19 Thread Maxim Dounin
Hello! On Wed, Feb 18, 2015 at 09:03:47PM -0600, Kunal Pariani wrote: > Hello, > I have just 1 backend server being reverse-proxied through nginx. The access > log lists this one request for which the $upstream_addr has the same ip:port > twice. Is this a bug ? > > :::10.255.255.248:5194

Re: Connection statuses

2015-02-19 Thread Maxim Dounin
Hello! On Wed, Feb 18, 2015 at 09:25:01PM -0500, K Young wrote: > Hello, I've been reading through nginx source to understand the metrics > that are > reported. I've got an idea of what is happening, but since the flow is > asynchro

Re: Logging to syslog

2015-02-19 Thread scaarup
What I am saying is, that there should be a log_format for error_log as well. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256786,256791#msg-256791 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Logging to syslog

2015-02-19 Thread scaarup
Yes rsyslog adds the first timestamp as I have configured it to. But it does not add the second. So is it a feature or bug, that you can configure nginx to send timestamp on acccess_log but not on error_log? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256786,256790#msg-256790 __

Re: Logging to syslog

2015-02-19 Thread Vladimir Homutov
On Thu, Feb 19, 2015 at 04:49:28AM -0500, scaarup wrote: > Hi all. > I am logging to syslog with the following configuration: > log_format custom '$remote_addr $remote_user ' > '"$request" $status $body_bytes_sent ' > '"$http_referer" "$http_u

Re: Logging to syslog

2015-02-19 Thread Axel
Hi, have you checked that it's not your logserver ho adds a timestamp itself? I'm not sure, but afair rsyslog adds own timestamps and you have to use a template to get rid of them. Regards, Axel Am Donnerstag, 19. Februar 2015, 04:49:28 schrieb scaarup: > Hi all. > I am logging to syslog wit

Logging to syslog

2015-02-19 Thread scaarup
Hi all. I am logging to syslog with the following configuration: log_format custom '$remote_addr $remote_user ' '"$request" $status $body_bytes_sent ' '"$http_referer" "$http_user_agent" UPSTREAM: $upstream_addr SSL: $ssl_protocol $ssl_cipher

Re: Second domain config does not redirect www traffic

2015-02-19 Thread macmichael01
Thanks! The missing semicolon fixed. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256780,256784#msg-256784 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

[ANN] Windows nginx 1.7.11.1 Gryphon

2015-02-19 Thread itpp2012
13:31 18-2-2015 nginx 1.7.11.1 Gryphon Based on nginx 1.7.11 (17-2-2015, last changeset 5984:3f568dd68af1) with; * Documentation repository http://nginx-win.ecsds.eu/download/documentation-pdf/ + Naxsi WAF v0.53-3 (upgraded 16-2-2015) * See 'ramdisk_setup v3.4.6.exe' on site, speedup your microcac

Re: Second domain config does not redirect www traffic

2015-02-19 Thread Francis Daly
On Thu, Feb 19, 2015 at 01:59:03AM -0500, macmichael01 wrote: > Here is my nginx config: http://pastie.org/private/ziromp4jqkbxehk5xjiha It is usually better to include the config in the mail; that url is unlikely to be accessible wherever the mail archives are read. But I looked at it anyway.