I Try to setup Nginx Load Balancing on Amazon lightsail nginx bitnami instance
with this guide:https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-load-balancing
where is "sites-available/default" location? This path " /etc/nginx/sites-available/default " does not exist on bitnami .
Thank you for using Bitnami. The default configuration file of Nginx is at /opt/bitnami/nginx/conf/nginx.conf and the default virtual host is configured in the /opt/bitnami/nginx/conf/bitnami/bitnami.conf file.
You will find more information about Bitnami Nginx at:
Don't hesitate to write us back if you have any questions.
Probably missing how to setup multiple virtual domains on a single instance of NGINX on AWS lightsail.Trying to run several domains on a single instance.
How and where to configure properly?
If you simply want to create a new virtual domain in NGINX, you can edit the /opt/bitnami/nginx/conf/bitnami/bitnami.conf file and add it there. However, if you deployed a custom PHP app on top of the Bitnami NGINX stack, you probably followed this guide and there is a final step to configure a virtual domain there
Happy to help!
Was my answer helpful? Click on