Re: Nginx configuration needed to dynamically rewrite a subdirectory to a subdomain

2014-01-17 Thread Patrick Lists
On 17-01-14 06:06, jamesandrewyoung wrote: How to configure NGINX daemon so that blog.xxx.com becomes xxx.com/blog Can anyone help me? http://lmgtfy.com/?q=nginx+rewrite Regards, Patrick ___ nginx mailing list nginx@nginx.org http://mailman.nginx.o

Re: One link/area on a https site with a different SSL config?

2014-01-10 Thread Patrick Lists
On 10-01-14 09:16, Igor Sysoev wrote: On Jan 10, 2014, at 12:13 , Andreas S. wrote: Patrick Lists wrote in post #1132735: On 09-01-14 22:48, Styopa Semenukha wrote: Patrick, It's not possible, because SSL works on lower level (session layer) than HTTP (application layer). Thank yo

Re: One link/area on a https site with a different SSL config?

2014-01-09 Thread Patrick Lists
Hi Styopa, On 09-01-14 22:48, Styopa Semenukha wrote: Patrick, It's not possible, because SSL works on lower level (session layer) than HTTP (application layer). Thank you for your feedback. That's unfortunate. I hope to see flexible SSL config one day as an enhancement (if possible). For n

One link/area on a https site with a different SSL config?

2014-01-09 Thread Patrick Lists
Hi, On a Wordpress website that works with a basic StartSSL certificate I wonder if it is possible to configure nginx (1.4.4) to use a separate self-signed cert with client certificate authentication for wp-login.php and any link in wp-admin/ ? So the regular https://blog.example.org/[some/l

Re: alert: ... pread() read only

2013-11-19 Thread Patrick Lists
On 11/19/2013 08:39 AM, Nikolaos Milas wrote: > Hello, > > We are running a Joomla website loading a google map in an iframe (under > NGINX) in the main (home) web page. This is the page mostly visited as > it contains almost real-time data to be viewed by clients. > > The system info: > > Linux

Re: Do i need mod_security for nginx?

2013-10-21 Thread Patrick Lists
On 10/21/2013 10:12 PM, agriz wrote: Today i found one particular IP address which was trying a lot of things in my server. For a second, it was sending atleast 50 requests. It was keep on accessing my admin login page with post and get request That IP tried proxy GET http://... It tried to inje

Re: [DOC] Guide to Nginx + SSL + SPDY

2013-09-09 Thread Patrick Lists
On 09/09/2013 03:53 PM, AJ Weber wrote: This is a nice write-up. Thank you. Does anyone know why SPDY is not enabled for the default builds yet, if it's in the "stable branch"? I just tried downloading 1.4.2 (CentOS 6 x64) and it's not configured. My guess is that's because CentOS 6 does not

Re: Howto force text type of dir/subdir/file?

2013-05-29 Thread Patrick Lists
Hi Francis, On 05/30/2013 12:37 AM, Francis Daly wrote: On Wed, May 29, 2013 at 04:35:03PM +0200, Patrick Lists wrote: Hi there, [snip] What does curl -I https:///doc/postfix-2.6.6/README_FILES/AAAREADME show as the Content-Type? If it is "text/plain", your nginx is doin

Re: Howto force text type of dir/subdir/file?

2013-05-29 Thread Patrick Lists
On 05/29/2013 06:11 PM, wishmaster wrote: [snip] What is in log? In the access.log: Working ok when browsing a procmail file: - - [29/May/2013:18:15:15 +0200] "GET /doc/procmail-3.22/examples/ HTTP/1.1" 200 1597 "https:///doc/procmail-3.22/" "Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gec

Howto force text type of dir/subdir/file?

2013-05-29 Thread Patrick Lists
Hi, On a CentOS 6.4 box with nginx 1.4.1 I would like to expose /usr/share/doc/* as /doc so I can easily browse the docs from the installed packages. Config I have right now (thanks Nodex on irc for pointing me to types): # docs location /doc { alias /usr/share/doc/; autoindex on; type

Re: OCSP validation of client certificates

2013-04-20 Thread Patrick Lists
Hi Roberto, On 04/20/2013 01:18 AM, Roberto Moreda wrote: Hi, Is someone working in OCSP validation of client certificates? I just want to know if someone is interested or working already before trying to do it myself :-) OCSP is mentioned in the documentation of the ngx_http_ssl_module mod

Re: where is the pid file

2013-03-30 Thread Patrick Lists
On 03/30/2013 08:39 PM, JCR wrote: Hi on Linux Centos 5 wiht nginx 1.2.7, I am struggling to find the pid file in my nginx.conf file I have pid/usr/local/nginx/logs/nginx.pid; but I dont see any nginx.pid in there. I tried to set that path at compile time but to no avail. Is there a co

Re: nginx-1.3.14: alert sched_setaffinity() failed

2013-03-05 Thread Patrick Lists
Hi Maxim, Thank you for your feedback. On 05-03-13 20:07, Maxim Dounin wrote: Do you have worker_cpu_affinity (http://nginx.org/r/worker_cpu_affinity) in your config? Does it match CPUs available? My bad, a config was copied which had worker_cpu_affinity set. I removed it and the alert is g

nginx-1.3.14: alert sched_setaffinity() failed

2013-03-05 Thread Patrick Lists
Hi, On an updated CentOS 6.3 x86_64 VM I just installed nginx 1.3.14 with extra modules ngx_cache_purge and nginx-auth-ldap, the SPDY 66 patch and built statically against openssl-1.0.1e. In the error log I see this message: 2013/03/05 19:31:39 [alert] 13363#0: sched_setaffinity() failed (22