Integrating softHSM with nginx

2014-11-18 Thread sandeepkolla99
Hii friends, I want to integrate softHSM with nginx. I did not find any resource to make it working. I found two below links from Nginx developement forum. But, They are not helpful to me. I'm trying to integrate softHSM with nginx on ubuntu machine. Does Nginx support integration with so

Re: problem with argument route in upstream

2014-11-18 Thread RODRIGUEZ Daniel
Tanks for your reply It means there is only the ip_hash solution on the free version? Envoyé de mon iPhone > Le 18 nov. 2014 à 22:32, Homutov Vladimir a écrit : > >> On 19.11.2014 00:25, RODRIGUEZ Daniel wrote: >> Hi, >> >> I was looking for hours what is the problem with my conf. >> >> I am

Re: problem with argument route in upstream

2014-11-18 Thread Francis Daly
On Tue, Nov 18, 2014 at 10:25:50PM +0100, RODRIGUEZ Daniel wrote: Hi there, > upstream antares { >server x:8000 route=server1; >server :8000 route=server2; >sticky route $route_cookie $route_uri; > } > With this I get on the error.log : > 2014/11/18 19:56:40 [emerg] 9520#0: i

Re: problem with argument route in upstream

2014-11-18 Thread Homutov Vladimir
On 19.11.2014 00:25, RODRIGUEZ Daniel wrote: Hi, I was looking for hours what is the problem with my conf. I am trying to implement a nginx reverse loadbalancer with tomcat application servers. I chose the route method here is the conf : map $cookie_jsessionid $route_cookie { ~.+\.(?P\w

problem with argument route in upstream

2014-11-18 Thread RODRIGUEZ Daniel
Hi, I was looking for hours what is the problem with my conf. I am trying to implement a nginx reverse loadbalancer with tomcat application servers. I chose the route method here is the conf : map $cookie_jsessionid $route_cookie { ~.+\.(?P\w+)$ $route; } map $request_uri $route_uri {

Re: How to serve all existing static files directly with NGINX, but proxy other requests to jetty?

2014-11-18 Thread Francis Daly
On Tue, Nov 18, 2014 at 10:05:26AM -0500, AlexLuya wrote: Hi there, > I want to nginx to serve all static files that have been put at > directories:js,images,html,and proxy other requests to jetty,I have tried: > > location ~ ^/test/(.*)\. > (jpg|jpeg|gif|png|js|ico|css|zip|tgz|gz|rar|bz2|pdf|

Re: log blacklisted domains to a separate log file

2014-11-18 Thread itpp2012
1.7.7 is stable enough, even the current 1.7.8 is good enough. Why not try it out on a test system and through some ab tests against it to see what the performance does. Or go for Lua to change the logfile, or create a separate server/location block for the blacklist. Context for access_log:

Re: log blacklisted domains to a separate log file

2014-11-18 Thread vigith maurice
I don't think map and log will help me solve it, I need to log to a separate file if condition is matched. Writing two sections with one pointing to default log (with map condition saying, no match to blacklist domains in the file) and other to blacklist_log file with the opposite condition might

Re: log blacklisted domains to a separate log file

2014-11-18 Thread vigith maurice
Thank you. I will take a look into map with include_file option. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: log blacklisted domains to a separate log file

2014-11-18 Thread itpp2012
How about map and log->if ? http://nginx.org/en/docs/http/ngx_http_log_module.html Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254890,254891#msg-254891 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

log blacklisted domains to a separate log file

2014-11-18 Thread vigith maurice
Hello, I have a list of blacklisted domains in a file. For these domains I want to log to a different log file. I assume i have to write nginx module for this. Or do we have some other way to do this? Since there are too many blacklisted domains and they will change quite often, creating vhosts i

Re: Slow Time to first byte

2014-11-18 Thread miralize
When I ping a static php file its 48ms Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254876,254886#msg-254886 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

How to serve all existing static files directly with NGINX, but proxy other requests to jetty?

2014-11-18 Thread AlexLuya
My question is similar to http://stackoverflow.com/questions/869001/how-to-serve-all-existing-static-files-directly-with-nginx-but-proxy-to-apache,different is that my site directory structure looks like this: /nginxRoot/test/js /nginxRoot/test/images /nginxRoot/test/html

nginx-rtmp - lags of stream, big bandwidth on master

2014-11-18 Thread michal - conf
Hi, i have master server and edge nodes, what use pull function to restream. Anyone streaming to master (rtmp) and its available in flash player from website (from any edge node in cluster). I debuging two problems some months without success: 1) anyone streaming to master. to master connecte

Re: Slow Time to first byte

2014-11-18 Thread mex
Hi, do you see this problem when accessing static files as well as php-files rendered by php-fpm? did you made a perftest on /static/small.css /path/index.php? would be interesting to see if this is a php-based problem. cheers, mex Posted at Nginx Forum: http://forum.nginx.org/read.ph

SSL Session Ticket Expiration

2014-11-18 Thread mex
in a blogpost[1] from tim taubert of firefox/mozilla - team he states, when wanting to have PFS: "The best you can do to provide forward secrecy to visitors is thus again switch off session ticket support until a proper solution is available." when using ssl_session_cache / ssl_session_timeout, b

Re: Disable keep_alive based on specific useragent

2014-11-18 Thread Valentin V. Bartenev
On Tuesday 18 November 2014 07:11:01 mex wrote: > nope, this seems to be a longer-known problem: > > http://forum.nginx.org/read.php?10,233386,template=head > > i (at least) did not got it working, either with "default 300;" > or with > > set katimeout 300; > If a directive supports variables,

Re: Disable keep_alive based on specific useragent

2014-11-18 Thread mex
nope, this seems to be a longer-known problem: http://forum.nginx.org/read.php?10,233386,template=head i (at least) did not got it working, either with "default 300;" or with set katimeout 300; Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254833,254879#msg-254879 _

Package 'nginx' isn't signed with proper key and segfault

2014-11-18 Thread khav
Earlier i was using nginx installed from epel repo but i then decided to use latest nginx I use the exact modules that the epel one used except that i added spdy and i complie from source(just so as not to break things). /var/log/messages Nov 18 10:53:41 sv1 abrtd: Package 'nginx' isn't signed w

Re: Disable keep_alive based on specific useragent

2014-11-18 Thread Wandenberg Peixoto
Try to remove the last 's' This should work. map $http_user_agent $katimeout { default 300; } On Tue, Nov 18, 2014 at 2:25 AM, Robert Mueller wrote: > Hi > > Thanks for your responses. Unfortunately, they don't seem to work. > > > and then use the evil IF: > > if ($ios_ua) { > keepa

Slow Time to first byte

2014-11-18 Thread miralize
Currently running into a host of problems with a collections of sites that I'm running off a Digital Ocean LEMP stack. There is a > 1s TTFB delay & things are in general are sluggish Ubuntu 12.04 4 Core CPU 8GB RAM 3 sites on the one server, but only one gets about 30k hits a day. Very image heav

[nginx module] Convert ngx_chain_t to buffer memory

2014-11-18 Thread hungnguyen
Hi, I am looking for a way to read ngx_chain_t buffer like what we do with buffer memory (file-> buffer memory) Is there any way we can do it with internal nginx api? Thanks, Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254875,254875#msg-254875 _