Why did you use EC2 instead of Elastic beanstalk? I have a django project in Elastic beanstalk. I can't change nginx settings, any suggestions? It creates a setting automatically.
Copying the build to /var/www is standard for web server configurations like Nginx or Apache, which serve content from this directory. It helps maintain a consistent structure, making deployment easier and more secure.
if possible please make depth tutorial in nginx cors configuration
I will try my best
thanks Muh, please i have a question why you dont't use docker compose instead ?
@@alexdin1565 I Will also create videos with docker compose as well.
There are lot of methods to deploy
@@CodeWithMuh thanks we are waiting your tutorials
Why did you use EC2 instead of Elastic beanstalk? I have a django project in Elastic beanstalk. I can't change nginx settings, any suggestions? It creates a setting automatically.
Why we copy the build to /var/www???
Copying the build to /var/www is standard for web server configurations like Nginx or Apache, which serve content from this directory. It helps maintain a consistent structure, making deployment easier and more secure.
@@CodeWithMuh okay is it the best practices? I actually make a separate user and add it to nginx group instud
I'm asking this because is copying is the best approach or does it hold any benefit. Then I'll follow this approach next time onward
Thanks muh. Btw looks like the article no longer exists.
@@randyariya744 let me check. You can check in 5 minutes
@@randyariya744 try now. You will get access to article. I just fixed. Thanks for informing me