Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

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 Article


Re: nginx config question, rules?

bump

View Article


try_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 Article

Re: 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 Article

Re: nginx config question, rules?

bump please :( bitocin donation pl0x

View Article


How 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 Article

Monitoring 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 Article

Re: 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 Article


Re: 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 Article


Re: 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 Article

smarter 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 Article

Re: 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 Article

Getting 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 Article


proxy_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 Article

reuseport 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 Article


Re: 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 Article

Re: 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 Article


Re: proxy_pass for large number of connections

nginx/1.7.11.3 Gryphon ( Windows )

View Article

Re: 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 Article

Re: 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
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>