nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size

This is most likely happening because of the long domain name. You can fix this by adding server_names_hash_bucket_size 64; at the top of your http block (probably located in /etc/nginx/nginx.conf). I quote from the nginx documentation what to do when this error appears: In this case, the directive value should be increased to the next … Read more

React-router and nginx

The location block in your nginx config should be: location / { try_files $uri /index.html; } The problem is that requests to the index.html file work, but you’re not currently telling nginx to forward other requests to the index.html file too.

NGINX: upstream timed out (110: Connection timed out) while reading response header from upstream

This happens because your upstream takes too long to answer the request and NGINX thinks the upstream already failed in processing the request, so it responds with an error. Just include and increase proxy_read_timeout in location config block. Same thing happened to me and I used 1 hour timeout for an internal app at work: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)