Deploy Frontend and Backend on Same Server - AWS EC2 instance - Django and React

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии •

  • @amandeepsingh7873
    @amandeepsingh7873 4 месяца назад +3

    if possible please make depth tutorial in nginx cors configuration

  • @alexdin1565
    @alexdin1565 4 месяца назад +1

    thanks Muh, please i have a question why you dont't use docker compose instead ?

    • @CodeWithMuh
      @CodeWithMuh  4 месяца назад +2

      @@alexdin1565 I Will also create videos with docker compose as well.
      There are lot of methods to deploy

    • @alexdin1565
      @alexdin1565 4 месяца назад +2

      @@CodeWithMuh thanks we are waiting your tutorials

  • @caglargulucan
    @caglargulucan 3 месяца назад

    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.

  • @snsbdccRJccb-yk3yw
    @snsbdccRJccb-yk3yw 4 месяца назад +1

    Why we copy the build to /var/www???

    • @CodeWithMuh
      @CodeWithMuh  4 месяца назад

      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.

    • @snsbdccRJccb-yk3yw
      @snsbdccRJccb-yk3yw 4 месяца назад

      @@CodeWithMuh okay is it the best practices? I actually make a separate user and add it to nginx group instud

    • @snsbdccRJccb-yk3yw
      @snsbdccRJccb-yk3yw 4 месяца назад

      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

  • @randyariya744
    @randyariya744 4 месяца назад +1

    Thanks muh. Btw looks like the article no longer exists.

    • @CodeWithMuh
      @CodeWithMuh  4 месяца назад

      @@randyariya744 let me check. You can check in 5 minutes

    • @CodeWithMuh
      @CodeWithMuh  4 месяца назад +1

      @@randyariya744 try now. You will get access to article. I just fixed. Thanks for informing me