Answer the question
In order to leave comments, you need to log in
How to form the path correctly?
Apache is installed locally and Lara works correctly, moved the site to vps and the asset helper adds public to the path.
virtual host config
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin [email protected]
ServerName site.com
DocumentRoot /var/www/site/public
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory "/var/www/site/public/">
AllowOverride All
Require all granted
</Directory>
SSLCertificateFile /path/to/ssl
SSLCertificateKeyFile /path/to/ssl
Include /path/to/ssl
</VirtualHost>
</IfModule>
Answer the question
In order to leave comments, you need to log in
It turned out to be a cache issue sudo php artisan view:clear helped
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question