813 reputation
1517
bio website ad7six.com
location Spain
age 38
visits member for 2 years, 11 months
seen 6 hours ago

Professional web developer.

Mostly php (CakePHP team member), some node.js, various databases/datastores - and a dash of linux (arch with a smidgen of ubuntu server).


2d
comment Multiple SSL and non-SSL hosts on one server with NGINX and redirects
The question is a bit too broad to answer as is. Is it best to keep all NGINX code together, or to split things out? definitely split things out. For example this: if ($http_host != "www.colonialdrivingschool.com") { should be a separate server block. Here's an example.
2d
suggested rejected edit on Strange access requests
2d
suggested rejected edit on Strange access requests
Dec
16
comment nginx config and error message
Since it's such a small addition, and if it helps any future reader, I've put a call to sudo in the answer.
Dec
16
revised nginx config and error message
add sudo su - if it helps any future readers at all, it's worth adding
Dec
16
comment Can't get 404s for Wordpress pages with permalinks and nginx
It's on by default - for good reason. Glad you found the cause =).
Dec
15
comment How configure apache to allow simultaneous requests from the same ip
I am not using file based session are you sure session.save_handler = files? It sounds very likely to be nothing to do with apache and everything to do with an application exclusive lock (session access being the most obvious candidate for that - If you're sure it's not the session - demonstrate that).
Dec
15
revised nginx, web page degraded when root path is changed
Don't point at other peoples domains.
Dec
15
suggested approved edit on nginx, web page degraded when root path is changed
Dec
14
revised How to restrict proxied apps based on application auth logic
Correct badly formatted code blocks and correct wording for clarity
Dec
14
suggested approved edit on How to restrict proxied apps based on application auth logic
Dec
14
comment nginx & php-fpm [debug] 11: Resource temporarily unavailable
so it's not php's memory limit. You are drawing false conclusions. The error message says that PHP is running out of memory (at 256mb), the memory limit can be changed at runtime. There is no nginx or PHP fpm complexity/relevance here.
Dec
14
revised nginx config and error message
match what the OP was doing, rather than exactly how the output was generated.
Dec
14
comment nginx config and error message
Do you really consider that an error? nginx -t will still show the error for an unprivileged user‌​. In any case it is assumed that any reader would understand a permission error if they are not root. Indeed service should be used if it's installed - it wasn't on the system I used to generate and copy the output. However - I've updated it to match the question.
Dec
14
comment nginx config and error message
@XavierLucas Apart from demonstrating nginx -t - there is no overlap and definitely no copy paste (except for cli output). Changing your answer to address the failings I pointed out in a comment would not have been accepted. I don't see the error - I would welcome you pointing it out.
Dec
13
comment How to exclude ip's from Nginx ngx_http_limit_req_module
You are better of IMO simply blocking them. You can use iptables to block direct access and allow only cloudfare. If you are using the real-ip module nginx will not see cloudflare's IPs at all, but that of the proxied client.
Dec
13
awarded  Organizer
Dec
13
revised nginx config and error message
Fix whitespace, remove pointless tags, correct shell examples to be readable code blocks. Also removed the redacted prompt since it adds nothing to the question
Dec
13
answered nginx config and error message
Dec
13
suggested approved edit on nginx config and error message