이두잉의 AWS 세상

AWS ElasticBeanstalk Root 경로

2017.12.01 10:38 - leedoing leedoing

/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>

'Compute > ElasticBeanstalk' 카테고리의 다른 글

AWS ElasticBeanstalk Root 경로  (0) 2017.12.01