Reputation
1,503
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 8 17
Newest
 Deputy
Impact
~25k people reached

Jul
30
comment Nginx fails to load static after putting caching configuration
Look for duplicates.
Jul
30
comment Nginx fails to load static after putting caching configuration
Nginx only uses one location block, whichever is the most specific match.
Jul
5
comment How do you restart logging after deleting an NGINX log?
What's in the question is you don't know how to restart.
Jul
5
comment nginx suspicious symbols warning in my nginx config file
Please do not paraphrase error messages quote them verbatim.
Jul
5
comment 502 errors on WordPress / nginx / php5-fpm
Duplicate/overlapping location blocks are not going to cause problems. Simply, the last one declared would be unreachable.
Jul
5
comment 502 errors on WordPress / nginx / php5-fpm
You need to read your fpm logs. If nginx says unable to connect, fpm is going to be saying something more specific.
Jul
5
comment How do you restart logging after deleting an NGINX log?
It should be obvious that restarting would 'fix' that.
Jul
3
comment Can't increase timeout on nginx with php-fpm
I suggest your application architecture needs to change - no web request should take more than a few seconds.
Jun
28
comment Suddenly, domain name can not be resolved - What happened?
Is this any clue to where the problem might be lying? No, that just means it doesn't respond to ping requests. All the above comment means is that the dns via your phone doesn't resolve - which isn't a surprise if previously there was a namesever listed that gave an authorative "that domain doesn't exist" answer - which both the cloudflare namesevers do.
Jun
26
comment make nginx ignore site config when its upstream cannot be reached
When you tried, did it work ;)?
Jun
26
revised Reduce the amount of RAM used by MySQL
Remove irrelevant tags
Jun
26
comment make nginx ignore site config when its upstream cannot be reached
I don't think you can force nginx to start with what boils down to bad config. Since you control the DNS, perhaps set it up to return a valid result with nginx using a short resolver cache.
Jun
26
suggested approved edit on Reduce the amount of RAM used by MySQL
Jun
25
comment Nginx Error 500 page no-cache
it sends along a header that the client shouldn't check for new content the next time it connects. please put some evidence/indication of what you mean there - like the output of curl -i http://example.com/should-be-a-500
Jun
24
revised Syntax error in nginx config file
Make a coherent question; remove irrelevant tags; there's no need to write the config twice, or to use edit-edits.
Jun
24
suggested approved edit on Syntax error in nginx config file
Jun
23
comment Possible to override $fastcgi_script_name in Nginx?
Ask how to achieve an objective; you currently have an X/Y Problem and it's not productive to pursue the solution you've chosen, which is flawed (and no, "override $fastcgi_script_name" is not an objective). Also they are not efficient - Feel free to demonstrate that.
Jun
23
comment Possible to override $fastcgi_script_name in Nginx?
It is the tool to do what you're trying to do - use the right tool.
Jun
23
comment Possible to override $fastcgi_script_name in Nginx?
why not simply rewrite the request so that there is no variable munging required?
Jun
23
comment Error: Webpage has a redirect loop
It is a lot better/cleaner to use 2 server blocks, example.