Hot answers tagged

5

Foreword Update in 2016. Things are evolving, all servers are getting better, they all support SSL and the web is more amazing than ever. Unless stated, the following is targeted toward professionals in business and start-ups, supporting thousands to millions of users. These tools and architectures require a lot of users/hardware/money. You can try this ...


2

As /blog is the first component of the URI, you need to remove it from the root. Use root /path/to/my when inside location ^~ /blog. See this document for details. Also, your .php location is invalid syntax. You can use something like this: location ^~ /blog { root /path/to/my; index index.php; try_files $uri $uri/ /blog/index.php; ...


2

Your site does not provide the necessary chain certificates. This is visible from the SSLLabs report: This server's certificate chain is incomplete. Grade capped to B. ... Extra download ... COMODO RSA Domain Validation Secure Server CA Chrome on Desktop tries to actively work around this problem but other clients like curl or most mobile browsers ...


2

I got it working. The php user was www-data but the nginx user was nginx. Check php here: /etc/php/7.0/fpm/pool.d/www.conf listen.owner = www-data listen.group = www-data listen.mode = 0660 Nginx user was at /etc/nginx/nginx.conf This guided me: http://stackoverflow.com/questions/23443398/nginx-error-connect-to-php5-fpm-sock-failed-13-permission-denied ...


1

Well, I guess, because you're using two upstream groups, the state isn't shared between the two groups. Right now I can't test this further, but here are some ideas of mine: Use one upstream group, inspect the $scheme, leverage map with a variable to assign the correct ports to the $scheme (either http or https), and use this variable in your server ...


1

In your snipet missing definiton of error log. error_page 400 /400.html; location /400.html { internal; error_log logs/400.log error; } In case you need documentation http://nginx.org/en/docs/ngx_core_module.html#error_log


1

According to the comments: Put 45.55.183.249 domain.com into /etc/hosts of the remote computer. You don't need to flush the cache (that is, as long as you don't run a local resolver). Changes to /etc/hosts get applied immediately.


1

One legitimate use for this try_files entry is to make it easy to enter site into maintenance mode. Once this file is created on the web server, no PHP scripts are executed, only that particular .htm file is displayed. During the maintenance it would be easier to perform complex updates without making site break in unexpected ways. The filename is chosen ...


1

Basically there are three big steps in your workflow Encryption and decryption process either by STARTTLS or SMTPS Authentication process i.e. to check if you allowed to do SMTP transaction SMTP Transcription (MAIL FROM, RCPT TO and so on) As far as I understand, you want to use nginx to do step 1, and transparently pass the rest of the transaction to ...



Only top voted, non community-wiki answers of a minimum length are eligible