My laravel project working fine on 127.0.0.1 but when trying to run on a virtual host I am getting a csrf_token mismatch error.
This is my .conf file code
<VirtualHost *:80>
ServerAdmin admin@server.in
ServerName test.local
ServerAlias test.local
<Directory /var/www/html/test/development/public>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
DocumentRoot /var/www/html/test/development/public/
</VirtualHost>