-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This doesn't work on production. #9
Comments
I am having the same issue. |
I'm following your tutorial to deploy
Wordpress
usingDocker
on aUbuntu
server.It's important to mention that I already have two subdomains at this point, one for the Wordpress site and another for the phpMyAdmin site.
However the
letsencrypt
certificates seem to not be generated properly. I can access the website via http, but not https, and when I look at the certificate it doesn't look correct. In fact it doesn't seem to have one for my website.[https://i.stack.imgur.com/38SzG.png](Image of how the "cert looks")
To make everything easier I created a script to run all the steps fast:
When the time comes I setup the
setup-onlinehost.sh
like this:Then I remove the
redirectnonwww
container from thedocker-compose.yml
file since I don't want the redirect non-www to www behavior.Then after everything is completed, I can access the websites over
http
but not overhttps
. When I try to access it overhttps
I receive a message aboutThis connection is not private
and the certificate seems to be wrong at this point.Also If I let continue my browser to visit the website I got to the
Nginx 500 Internal Server Error
.I'm not sure if I'm doing something wrong or if I should be doing something else that is not listed on the tutorial.
Thanks.
The text was updated successfully, but these errors were encountered: