lvxianchao / notes

狗屁不通瞎写的博客
https://coderlxc.com
1 stars 0 forks source link

Homestead 配置一个文件服务器 #24

Open lvxianchao opened 2 years ago

lvxianchao commented 2 years ago

after.sh 里加入以下:

sudo sed -i 's/try_files $uri $uri\/ \/index.php?$query_string;/autoindex on;\n\tautoindex_exact_size off;\n\tautoindex_localtime on;\n\tcharset utf-8;/g' /etc/nginx/sites-available/files.test

sudo nginx -s reload