jeudi 24 septembre 2020

Configure Laravel and VueJs on a domain

I have the following 2 projects

  • Project1) /var/www/html/laravel58/public
  • Project2) /var/www/html/vue2/dist

Project1 (Laravel) is currently configured on my domain http//www.domain.com

How to configure VueJs Project2 (VueJs) as http//https://ift.tt/2GabNKL

The current apache config is as under

<VirtualHost *:80>
    ServerName domain.com
    ServerAdmin admin@domain.com
    DocumentRoot /var/www/html/laravel58/public

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    <Directory /var/www/html/laravel58/public/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire