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.

I created a Wordpress site following up this tutorial - https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lemp-on-ubuntu-18-04, haven’t configured ufw firewall, skipped that part
After installing SSL, I’m getting “syscodes.io redirected you too many times” error…
Here is the server block file below
server {
root /var/www/html;
index index.php index.html index.htm index.nginx-debian.html;
server_name syscodes.io www.syscodes.io;
location / {
#try_files $uri $uri/ =404;
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
}
location ~ /\.ht {
deny all;
}
location = /favicon.ico { log_not_found off; access_log off; }
location = /robots.txt { log_not_found off; access_log off; allow all; }
location ~* \.(css|gif|ico|jpeg|jpg|js|png)$ {
expires max;
log_not_found off;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/syscodes.io/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/syscodes.io/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = www.syscodes.io) {
return 301 https://$host$request_uri;
} # managed by Certbot
if ($host = syscodes.io) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name syscodes.io www.syscodes.io;
return 404; # managed by Certbot
}
How to fix that too many redirect error?
ebeecroft
68aa2215160846bca0a00f952c5fdc
009fd274aeae48f2bfbda6ef568676
Cloudstream Apk
032f50ee7f7d489db3b05e204fe139
032f50ee7f7d489db3b05e204fe139
Edward Sitarski
ebeecroft
dashan
34bcef38725b4e6eb5224ae028f17e