penguinfeet's avatar

SSL Working with Forge, but not redirecting from http to https

Hello, I have gotten the SSL to work with letsencrypt on Forge. But when I visit my site name in the url address bar: "example.com", it does not redirect to https://example.com. Instead it just shows a 404 error. I checked nginx -t, and there are no errors:

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful

If I go directly to https://example.com or https://www.example.com, it works fine. Any ideas?

0 likes
6 replies
penguinfeet's avatar

Hmm, I tried adding that additional block, restarted nginx, still not working. Any other ideas?

penguinfeet's avatar

Unfortunately clearing the cache did not solve the issue.

Please or to participate in this conversation.