Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
docker
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
提交
问题看板
Open sidebar
陈欢
docker
Commits
4e979870
提交
4e979870
authored
6月 23, 2022
作者:
chenhuan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix
上级
fb40d3f4
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
40 行增加
和
32 行删除
+40
-32
nginx.conf
base-images/nginx-php-fpm-main/conf/nginx.conf
+40
-32
没有找到文件。
base-images/nginx-php-fpm-main/conf/nginx.conf
浏览文件 @
4e979870
...
@@ -23,38 +23,46 @@ http {
...
@@ -23,38 +23,46 @@ http {
include
mime.types
;
include
mime.types
;
default_type
application/octet-stream
;
default_type
application/octet-stream
;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
server_names_hash_bucket_size
512
;
# '"$http_user_agent" "$http_x_forwarded_for"';
client_header_buffer_size
1k
;
#large_client_header_buffers 4 32k;
#access_log logs/access.log main;
client_max_body_size
50m
;
sendfile
on
;
#tcp_nopush on;
sendfile
on
;
client_max_body_size
2000M
;
tcp_nopush
on
;
#keepalive_timeout 0;
#keepalive_timeout 65;
#keepalive_timeout 60;
keepalive_timeout
120s
120s
;
keepalive_requests
10000
;
client_header_buffer_size
64k
;
tcp_nodelay
on
;
large_client_header_buffers
4
64k
;
client_body_buffer_size
20m
;
fastcgi_connect_timeout
300
;
fastcgi_buffer_size
128k
;
fastcgi_send_timeout
300
;
fastcgi_buffers
4
128k
;
fastcgi_read_timeout
300
;
fastcgi_busy_buffers_size
256k
;
fastcgi_buffer_size
64k
;
gzip_buffers
16
8k
;
fastcgi_buffers
4
64k
;
proxy_buffer_size
64k
;
fastcgi_busy_buffers_size
128k
;
proxy_buffers
4
128k
;
fastcgi_temp_file_write_size
256k
;
proxy_busy_buffers_size
256k
;
fastcgi_intercept_errors
on
;
keepalive_timeout
240
;
gzip
on
;
fastcgi_connect_timeout
600
;
gzip_min_length
1k
;
fastcgi_send_timeout
600
;
gzip_buffers
4
16k
;
fastcgi_read_timeout
600
;
gzip_http_version
1
.1
;
gzip_comp_level
5
;
proxy_connect_timeout
600s
;
gzip_types
text/plain
application/javascript
application/x-javascript
text/javascript
text/css
application/xml
;
proxy_send_timeout
1200
;
gzip_vary
on
;
proxy_read_timeout
1200
;
gzip_proxied
expired
no-cache
no-store
private
auth
;
gzip_disable
"MSIE
[1-6]
\
."
;
limit_conn_zone
$binary_remote_addr
zone=perip:10m
;
limit_conn_zone
$server_name
zone=perserver:10m
;
server_tokens
off
;
access_log
off
;
include
/etc/nginx/sites-enabled/*
;
include
/etc/nginx/sites-enabled/*
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论