Ubuntu18.04下修改nginx配置文件,以适配thinkPHP框架
Ubuntu18.04下修改nginx配置文件,以适配thinkPHP框架
在/etc/nginx/sites-enabled下,建立自己的项目配置文件,然后进行对应的修改。
希望能帮到正在浏览的你。
server {
listen 80;
root /home/a/phpSpace/test/public;
# Add index.php to the list if you are using PHP
index index.html index.php;
server_name www.te
原创
2021-04-19 18:41:20 ·
531 阅读 ·
0 评论