Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Setup a fresh droplet on Ubunut 16.04 and installed a basic LEMP stack with mariadb, php7, nginx. Installed wordpress to /var/www/mydomain.com/ using wp-cli. Created a basic new nginx configuration in /etc/nginx/sites-available/mydomain.com.
server {
listen 80;
listen [::]:80;
root /var/www/mydomain.com;
index index.php;
server_name mydomain.com;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
}
When I use the website, it works perfectly except when I try to post a comment, it hangs for over a minute before nginx returns a 504 gateway time-out. However — comment is received.
This problem disappears when I set server_name _; and use this site as the default_server.
Tried php 7.1, wordpress 4.7, wordpress 4.8, ppa:nginx/stable package, etc, with no success.
Anyone else seen this problem? Cheers!
ebeecroft
68aa2215160846bca0a00f952c5fdc
009fd274aeae48f2bfbda6ef568676
Cloudstream Apk
032f50ee7f7d489db3b05e204fe139
032f50ee7f7d489db3b05e204fe139
Edward Sitarski
ebeecroft
dashan
34bcef38725b4e6eb5224ae028f17e