4,296 reputation
1920
bio website blog.martinfjordvald.com
location Shenzhen, China
age 25
visits member for 4 years, 4 months
seen 11 hours ago

I love Nginx.


Jan
24
awarded  Nice Answer
Dec
24
answered Nginx not passing uri to php5-fpm, instead serving as text file
Dec
20
comment Why is Nginx accepting any URL value after the root domain?
Just for the record, try_files $uri $uri/ =404; is the same as just removing try_files. Right now you're explicitly instructing nginx to do what it's default behaviour is. No one says you have to use try_files.
Dec
16
awarded  Yearling
Dec
15
comment Nginx Uploading
Basically it comes down to asynchronous IO in nginx allowing it to handle other things while reading and writing the data. Also points for reading the post and thinking further on things instead of just blinding accepting everything I've written!
Nov
13
answered Without www. infront of domain, the browser downloads php file instead of loading it in browser?
Oct
31
answered Completely hiding nginx server response header
Oct
21
comment Preventing 304 Not Modified Requests with nginx
Most likely the browser has cached the previous caching duration. But as I said you cannot force a browser, only instruct it. For me this results in full caching: i.imgur.com/aDpRlFL.png
Oct
18
answered Preventing 304 Not Modified Requests with nginx
Aug
3
awarded  Enlightened
Aug
3
awarded  Nice Answer
Aug
2
comment Nginx PHP Consistently Slower than Apache 2.2
nginx will not spawn anything, fastcgi processes have to be pre-spawned or adaptively spawned by php-fpm.
Jul
9
comment Nginx skipping location
Your question cannot be answered without your full server block config.
Jul
7
answered Cant get access to phpmyadmin with nginx under debian “No input file specified.”
May
22
awarded  Good Answer
Apr
9
awarded  Revival
Mar
23
comment Nginx location exact match matches beyond arguement
by /foo/anything-else do you then actually mean /foo/?anything-else
Mar
18
comment How do I enable PHP’s flush() with nginx+PHP-FPM?
There is for pretty much everything but fastcgi. uwsgi has wiki.nginx.org/HttpUwsgiModule#uwsgi_buffering proxy has nginx.org/en/docs/http/…. but the same does not exist for fastcgi.
Mar
18
answered How do I enable PHP’s flush() with nginx+PHP-FPM?
Feb
15
answered Correctly configure NGINX to redirect http and all vhosts to specific address