問題描述:線下項目訪問首頁index.php正常 線上lavarel 403php
基本操做: /etc/nginx/conf.d/xxx.conf index 配置添加index.php重啓nginx systemctl restart nginx systemctl status nginx 緣由: 線下直接經過php訪問項目 php傻瓜式配置自動找index.php 線上須要在配置文件中配置一下nginx