Re: How do I show 403 error

2015-03-04 Thread blason
Thanks Max. I am just trying that on my test server. Also this proxy I am gonna use for MS Exchange OWA and thus would not want to publish /ActiveSync and /offlineaddressbok urls through my reverse proxy. How can I block certain urls or path in nginx so that those URLs would not be accessible or

Re: curl "Connection refused" caused by SSL config

2015-03-04 Thread Fry-kun
Also noticed that http-level config causes www.foo.com to show errors on https://www.200please.com/ Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257064,257065#msg-257065 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailma

curl "Connection refused" caused by SSL config

2015-03-04 Thread Fry-kun
Hi all, I have a strange problem with nginx: I tried to harden the TLS stack by setting default to recommended values from https://wiki.mozilla.org/Security/Server_Side_TLS but one server has to keep backward compatibility -- so I set it up as http { ssl_protocols TLSv1.1 TLSv1.2; ssl_ciphers

Re: add_before_body

2015-03-04 Thread neophyte
worker_processes 8; events { worker_connections 1024; } http { gzip off; root htdocs; add_before_body subsites/dropletlocal/library/global/func-global.class.php; #DOESN'T add_before_body subsites/dropletlocal/library/global/test.html;

Re: add_before_body

2015-03-04 Thread neophyte
Even when I add_before_body on every individual server it still gives me "Input file not specified" Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257054,257062#msg-257062 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailma

Re: add_before_body

2015-03-04 Thread Francis Daly
On Wed, Mar 04, 2015 at 05:30:22PM -0500, neophyte wrote: Hi there, > I can't manually add it to each file because I use a include *.comf, I just > need Nginx to perform add_before_body without it being in each server block. I'm afraid that I have failed to understand what you want to configure

Re: add_before_body

2015-03-04 Thread neophyte
Let me clear that up, I need add_before_body /subsites/dropletlocal/library/global/func-global.class.php; to work on every site that is hosted, I can't manually add every block or I'd have to do it for over 500 websites, intern taking too long and too much downtime, also I can't because the direct

Re: add_before_body

2015-03-04 Thread neophyte
I can't manually add it to each file because I use a include *.comf, I just need Nginx to perform add_before_body without it being in each server block. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257054,257059#msg-257059 ___ nginx mailing

Re: add_before_body

2015-03-04 Thread Francis Daly
On Wed, Mar 04, 2015 at 04:51:43PM -0500, neophyte wrote: Hi there, > I've swapped to using /. > https://gist.github.com/anonymous/423cbe11f91e4d342dd6 - My comf. That is: """ http { add_before_body /subsites/dropletlocal/library/global/func-global.class.php; server { server_name local

Re: add_before_body

2015-03-04 Thread neophyte
I've swapped to using /. https://gist.github.com/anonymous/423cbe11f91e4d342dd6 - My comf. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257054,257057#msg-257057 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinf

Re: add_before_body

2015-03-04 Thread Francis Daly
On Wed, Mar 04, 2015 at 11:33:50AM -0500, neophyte wrote: Hi there, > I'm trying to use the add_before_body in nginx.comf, The documentation is at http://nginx.org/r/add_before_body > add_before_body > \subsites\dropletlocal\library\global\func-global.class.php; > > After I add it all the site

NGINX and mod_log_sql

2015-03-04 Thread Fabián M Sales
Hello List. I use mod_log_sql-1.10 compiled into Apache / 2.4.7 and write correctly in MySQL. In the nginx web server with the IP writer in MySQL is the IP of the webserver and not the client IP to access the website. You might still be able to write the client IP and non-IP using nginx webserve

add_before_body

2015-03-04 Thread neophyte
Hey! I'm trying to use the add_before_body in nginx.comf, add_before_body \subsites\dropletlocal\library\global\func-global.class.php; After I add it all the sites display a "No input file specified.". If I use: add_before_body \subsites\dropletlocal\library\global\test.html; The file gets in

RE: nginx Digest, Vol 65, Issue 5

2015-03-04 Thread Julio Cesar Dos Santos
Por favor arem de enviar esse e-mail para mim. Atenciosamente: Julio Cesar Dos Santos -mensag. original- Assunto: nginx Digest, Vol 65, Issue 5 De: nginx-requ...@nginx.org Data: 04/03/2015 09:00 Send nginx mailing list submissions to nginx@nginx.org To subscribe or unsubscribe via the

Whether nginx can cache video file and large file via the way ( monitoring Port mirroring + send 302 http, packet to redirect ) ?

2015-03-04 Thread johnzeng
Hi , i have a switch , and i hope to redirect video traffic to Cache via using Port mirroring feature , and monitoring network traffic that involves forwarding a copy of each packet from one network switch. Whether nginx can listen and identify mirroring data packet ? maybe we can use gor ( ht

Re: How do I show 403 error

2015-03-04 Thread Maxim Dounin
Hello! On Tue, Mar 03, 2015 at 11:07:16PM -0500, blason wrote: > Hi Guys, > > I just setup nginx reverse proxy for my webservers which has port 80/443 > opened from internet and have very restircted access on firewall to the > destination servers again those to particular servers on port 80 and

Whether nginx can cache video file and large file via the way ( monitoring Port mirroring + send 302 http, packet to redirect ) ?

2015-03-04 Thread johnzeng
Hi , i have a switch , and i hope to redirect video traffic to Cache via using Port mirroring feature , and monitoring network traffic that involves forwarding a copy of each packet from one network switch. Whether nginx can listen and identify mirroring data packet ? maybe we can use gor ( ht