Laravel .env 多环境配置文件 发表于 2022-08-28 | 分类于 IT技术-Web开发修改 Nginx 配置文件设置 APP_ENV:1234567location ~ \.php$ { fastcgi_pass 192.168.42.6:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; fastcgi_param APP_ENV production;}对应laravel目录下.env.production