Skip to content

Instantly share code, notes, and snippets.

@wpupru
Created January 14, 2019 04:37
Show Gist options
  • Save wpupru/f9a25feb414f6ef844cb8f9697c0bb9c to your computer and use it in GitHub Desktop.
Save wpupru/f9a25feb414f6ef844cb8f9697c0bb9c to your computer and use it in GitHub Desktop.
Template for Laravel for VestaCP Debian
cp /usr/local/vesta/data/templates/web/apache2/default.tpl /usr/local/vesta/data/templates/web/apache2/laravel.tpl
cp /usr/local/vesta/data/templates/web/apache2/default.stpl /usr/local/vesta/data/templates/web/apache2/laravel.stpl
cp /usr/local/vesta/data/templates/web/nginx/default.tpl /usr/local/vesta/data/templates/web/nginx/laravel.tpl
cp /usr/local/vesta/data/templates/web/nginx/default.stpl /usr/local/vesta/data/templates/web/nginx/laravel.stpl
vim /usr/local/vesta/data/templates/web/apache2/laravel.tpl
DocumentRoot %docroot%/public/
vim /usr/local/vesta/data/templates/web/apache2/laravel.stpl
DocumentRoot %sdocroot%/public/
vim /usr/local/vesta/data/templates/web/nginx/laravel.tpl
root %docroot%/public/;
vim /usr/local/vesta/data/templates/web/nginx/laravel.stpl
root %sdocroot%/public/;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment