Nas deploy laravel nginx config

Synology nas deploy laravel with nginx config

Reference url: https://community.synology.com/enu/forum/1/post/133463

1. cd /etc/nginx/sites-enabled
2. vim server.webstation-vhost.conf
3. find v-host config that u want to deploy
4. add this config code: 
location / { try_files $uri $uri/ /index.php?$query_string; }
5. sudo nginx -s reload

Last updated

Was this helpful?