摘要:
在nginx.conf中添加如下。 client_max_body_size 10m; 允许客户端请求的最大单文件字节数 client_body_buffer_size 128k; 缓冲区代理缓冲用户端请 求的最大字节数 所有配置: include /usr/share/nginx/modules/ 阅读全文
摘要:
在/etc/nginx/conf.d下新建一个laravel.conf文件,并编辑 写入如下文件即可 server { listen 80; server_name xxx; root "/www/public"; location / { index index.html index.htm in 阅读全文
摘要:
server { listen 80; server_name xxxxx; root "/www/public"; location / { index index.html index.htm index.php; if ( f $request_filename/index.html){ re 阅读全文
摘要:
server { listen 80; server_name _; root /opt/h5/index/; location / { index index.html index.htm index.php; if ( f $request_filename/index.html){ rewri 阅读全文