随笔分类 -  nginx配置

摘要:在nginx.conf中添加如下。 client_max_body_size 10m; 允许客户端请求的最大单文件字节数 client_body_buffer_size 128k; 缓冲区代理缓冲用户端请 求的最大字节数 所有配置: include /usr/share/nginx/modules/ 阅读全文
posted @ 2019-12-18 23:27 风许下的泪 阅读(928) 评论(0) 推荐(0)
摘要:在/etc/nginx/conf.d下新建一个laravel.conf文件,并编辑 写入如下文件即可 server { listen 80; server_name xxx; root "/www/public"; location / { index index.html index.htm in 阅读全文
posted @ 2019-12-18 23:24 风许下的泪 阅读(6433) 评论(0) 推荐(0)
摘要:server { listen 80; server_name xxxxx; root "/www/public"; location / { index index.html index.htm index.php; if ( f $request_filename/index.html){ re 阅读全文
posted @ 2019-12-18 23:22 风许下的泪 阅读(1661) 评论(0) 推荐(0)
摘要:server { listen 80; server_name _; root /opt/h5/index/; location / { index index.html index.htm index.php; if ( f $request_filename/index.html){ rewri 阅读全文
posted @ 2019-12-18 23:20 风许下的泪 阅读(1411) 评论(0) 推荐(0)
摘要:server { listen 80; server_name sss.cn; root "root/"; location / { index index.html index.htm index.php; if ( f $request_filename/index.html){ rewrite 阅读全文
posted @ 2019-09-08 14:14 风许下的泪 阅读(1563) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2019-09-03 10:53 风许下的泪 阅读(483) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2019-09-03 10:52 风许下的泪 阅读(850) 评论(0) 推荐(0)