How To Setting NGINX For Laravel
How To Setting NGINX For Laravel
This video show you how to configure NGINX for laravel project, the configuration is directory project based so you can use this configuration for another laravel project. I hope this video can help you using NGINX with your laravel project. 🙂
If you have some problems or difficulties or have some other questions then you can ask me in the comment bellow. I will try answer your questions. 🙂
Please consider supporting me on Patreon :
https://www.patreon.com/ryudith
How to install NGINX :
https://www.youtube.com/watch?v=Sc0nJtVtWSI
How to install PHP 7 :
https://www.youtube.com/watch?v=jO3gweU6ASU
NGINX Laravel Config :
location /laravel_playground/hello-laravel/public {
# root “H:/work/web”;
alias “H:/work/web/laravel_playground/hello-laravel/public”;
index index.php;
try_files $uri $uri/ /laravel_playground/hello-laravel/public/index.php;
location ~ .php$ {
# root “H:/work/web/laravel_playground/hello-laravel/public”;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME $document_root/index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
}
NGINX Beginners Book :
https://amzn.to/2HAWVDr
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission.
#RYUDITHTUTORIAL