随笔分类 - nginx配置
摘要:在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
阅读全文
摘要:server { listen 80; server_name sss.cn; root "root/"; location / { index index.html index.htm index.php; if ( f $request_filename/index.html){ rewrite
阅读全文
摘要:server { listen 66; server_name 192.168.2.253; root "/var/www/jitamin/public"; location / { index index.html index.htm index.php; if ( f $request_file
阅读全文
摘要:suitecrm配置在nginx下的一些设置 server { listen 88; server_name 192.168.2.253; charset koi8 r; access_log /var/log/nginx/host.access.log main; location / { roo
阅读全文

浙公网安备 33010602011771号