I was following: https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-docker-compose. but once I reached the 6th step and tried accessing the server it is giving the error 403 . Please help
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello, @sarjun36
Could you please confirm if you’ve also followed and completed the tutorials mentioned in the Prerequisites section of the article as well? Are you using a domain name or you’re using your IP address to access the WordPress installation?
You can check if Nginx is running with the following command:
Make sure to check if you have port 80 open as well. If you want to allow both HTTP and HTTPS traffic, you can create a single rule that allows both ports. To allow all incoming HTTP and HTTPS (port 443) connections run this command: