configuration for caching static files
I have some problem on configuring Nginx to correctly serve an AngularJS application. The server is configured as follow:www.example.com we have the landing page of the applicationwww.example.com/app...
View Articletry_files not working as expected
Hi,location /some/location/ {try_files $uri /api.php?r=$request_uri;}Is working perfectly. It does process domain.com/some/location/ as domain.com/api.php?r=/some/location/ (.php files processed in...
View ArticleRe: try_files not working as expected
Something similar http://stackoverflow.com/questions/18117625/how-to-configure-nginx-to-try-files-first-if-not-exists-follow-the-request-uri
View ArticleHow to setup nginx for multitenancy
I am bringing multi-tenancy to a single-tenant app and I'm looking into using nginx to assist with that.To describe the rough architecture, it looks like so: Each tenant runs in its own process, with...
View ArticleMonitoring NGINX Plus Status Page with Nagios
Hello All,I was wondering if anyone has done any monitoring of Nginx Plus with Nagios, in order to keep historic data? We use Nagios with the nagiosgraph addon which keeps an RRD file with the...
View ArticleRe: Monitoring NGINX Plus Status Page with Nagios
This addon https://github.com/vozlt/nginx-module-vts is usable for such tasks where you can store the results anywhere.
View ArticleRe: Monitoring NGINX Plus Status Page with Nagios
That's not exactly what I am looking for, as we already have a status page and a json status page built in with Nginx Plus, and cannot compile in any other. Just looking for a good way to parse the...
View ArticleRe: Monitoring NGINX Plus Status Page with Nagios
If you got a json output then it should be easy to stuff this into something like a database for nagios to read, or use perl as a html client to parse this for nagios.Or go the Lua way, read json...
View Articlesmarter permanent redirects
Hello,Pretty much a nube to this. Hopefully somebody can help me out with some questions.Our client is going to migrate their website to our services - we provide the backend, and there is an all new...
View ArticleRe: smarter permanent redirects
Such amount of redirects can be best done with 'map', if you want dynamic redirects then you need Lua, a table read from sql into memory and an optimized Lua routine which does the rewrite (so not...
View ArticleGetting nginx 404 error on uploaded files
I am using PHP (5.3) to upload jpeg files, create folders for those files and store them. I have a development version and a live version both running on the same server (CentOS 7, Apache, Plesk 12).On...
View Articleproxy_pass for large number of connections
Hello, can someone to help me for config file to use for large number of connections ?I use nginx only for proxy_pass but I see problem with upload and send data to users ( on error log there is...
View Articlereuseport is not supported on this platform
I'm attempting to test out SO_REUSEPORT on Debian Wheezy with Kernel 3.16 (Linux 3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1~bpo70+1 (2015-04-27) x86_64)upon nginx restart I get the...
View ArticleRe: proxy_pass for large number of connections
Which version? nginx or mine? with mine you can use 32k/worker and multiple workers are supported.
View ArticleRe: reuseport is not supported on this platform
See here http://hg.nginx.org/nginx for fixes about this, no idea if this fixes your issue.
View ArticleRe: proxy_pass for large number of connections
Is the problem php? see the service installer on site how that one creates a PHP pool.Then look at the myLoadBalancer example in nginx-win.conf
View ArticleRe: proxy_pass for large number of connections
No there is no php on this server, only proxy_passSo I need for best performance config rules !
View Article