I'm working to set up an autoscaled WordPress site with Nginx on Compute engine,
Here's my workaround:
I have set up an Instance on which Installed Nginx and set up my WordPress site.
Created a cloud SQL instance for the database of WordPress site.
- Create Custom Compute Engine Image from my Instance Disk on which I have set up my WP site.
- Then Create an Instance Template using the custom Image I have created.
- Then create my required 4 managed, autoscaled instance groups based on the my Instance Template.
- Setup an HTTP Load balancer and add all of 4 instance groups in Backend service.
- Also, add a health check with the PORT
TCP 80
and PATH/
When I access the external IP it returns an error like:
- That’s an error.
The requested URL / was not found on this server. That’s all we know.
Help me, please!
Thanks in advance!