본문 바로가기

Compute/ElasticBeanstalk

AWS ElasticBeanstalk Root 경로

/var/app/current/

/var/www/html/



.extensinos sample


files:

  "/etc/httpd/conf.d/vhost.conf":

    mode: "000644"

    owner: root

    group: root

    encoding: plain

    content: |

      NameVirtualHost *:80

 

      <VirtualHost *:80>

        DocumentRoot "/var/app/current/"

         <Directory "/var/app/current/">

          Options Indexes FollowSymLinks MultiViews

          AllowOverride All

          Require all granted

         </Directory>

      </VirtualHost>

 

      <VirtualHost *:80>

       ServerName www.jschoi.net

       DocumentRoot "/var/app/current/jschoi"

        <Directory "/var/app/current/jschoi">

         Options Indexes FollowSymLinks MultiViews

         AllowOverride All

         Require all granted

        </Directory>

      </VirtualHost>

 

      <VirtualHost *:80>

       ServerName www.hjlee.net

       DocumentRoot "/var/app/current/hjlee"

        <Directory "/var/app/current/hjlee">

         Options Indexes FollowSymLinks MultiViews

         AllowOverride All

         Require all granted

        </Directory>

      </VirtualHost>