Nginx Caching - Return 301 Redirect if file size > 2MB
Hello, everyone!I have a rule in place that will proxy and cache a bunch of file extensions:######location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {proxy_pass http://{backend_IPs_pool};proxy_set_header...
View ArticleNginx-RTMP not working... Help!
Hello all, this is my first post on the forums.As the title suggests, I am having some problems getting Nginx with RTMP module working for me. What I am trying to do is setup my server so that a friend...
View Articlengx_http_limit_req_module + proxy = wrong logs???
Hi,I using nginx latest stable version on two servers, first one is with ddos protection and every request to my website first go to that server and that server working as nginx proxy for second server...
View Articleauth_request POST errors
Hi everyoneI have to configure an administration area for a site. That administration area has to be authenticated with client certificates. The certificate subject is checked by a PHP application that...
View ArticleRe: auth_request POST errors
check this :http://nginx.2469901.n2.nabble.com/mod-auth-request-php5-fpm-gives-error-504-on-POST-requests-GET-requests-are-okay-td7583956.htmlproxy_set_header Content-Length "";
View ArticleRe: auth_request POST errors
Thanks for the reply, but it doesn't work, I had already seen that. Before posting here I have googled a LOT...
View ArticleRe: auth_request POST errors
> proxy_intercept_errors on;See http://stackoverflow.com/questions/8715064/nginx-not-serving-my-error-pagetoggle it and check the logfiles to see who is complaining about what.
View ArticlePHP - only seems to run one instance?
Hi everyone,so i am setting up a standalone web server using nginx, php 5.6.6, and mysql. This is on windows, and nothing is a service. It is windows for a reason, but i know linux is better and more...
View ArticleRe: PHP - only seems to run one instance?
Have a look here http://nginx-win.ecsds.eu/and also the php installer which creates a pool nginx uses (Install_nginx_php_services.zip).
View ArticleRe: PHP - only seems to run one instance?
Thank you, i always meant to use that but never could figure put the difference.reading through the scripts it seems i can use what i have now, but using nginx for windows, changing my start bat file...
View ArticleRe: PHP - only seems to run one instance?
Can i just say a huge thank you. Changing that also seems to have fixed the issues i was having with drupal instances as well (30 second load with checks now takes 800ms with no errors!!)i noticed on...
View ArticleRe: PHP - only seems to run one instance?
See the conf/php-opcache-example.ini example and speed things up near to realtime php execution.The ramdrive is for use with fast_cgi/proxy_pass where you can deploy a microcache. Examples are in nginx...
View ArticleRe: PHP - only seems to run one instance?
Thanks again, I will look at how to use this more when I get home. I have been reading through the settings and some shown examples and I have a question you may be able to answer. So I have these 2...
View ArticleHow to fix upstream timed out (110: Connection timed out) while connecting to...
I have install nginxadmin on my freshly installed cpanel vps. I get 504 timeout when I try to login into domain. Here are my log and configs.Logs--------------------2015/03/06 16:58:25 [error] 31665#0:...
View ArticleRe: PHP - only seems to run one instance?
The example is how we use it and it works good enough, you would need to test different settings with different circumstances to see what works for you, you may have to switch to xcache which deals...
View ArticleRe: PHP - only seems to run one instance?
Because the server will either be on my editing machine or behind an FTP, it will always be overwritten or edited directly
View ArticleRe: PHP - only seems to run one instance?
So i have just gotten home and enabled opcache with an update every 60 seconds as in the default example. This seems to be working amazing.My own framework has gone from 12ms to 6ms page load (server...
View ArticleRe: PHP - only seems to run one instance?
bigjme Wrote:-------------------------------------------------------> does it re-cache the file every 60 seconds in the default or does it> just check for a change in modification date?I guess...
View ArticleRe: PHP - only seems to run one instance?
I think for now i will leave it :) i have just simulated 426,000 clicks per hour to my server (i don't have access to many stress test tools) on a stock wordpress site and it handles it, 100% cpu but...
View ArticleRe: PHP - only seems to run one instance?
WIth the default nginx.exe or with mine and a few workers active?Anything asked for the first time will cause a small delay, even nginx has its initializing moments, but once running it blazes.
View Article