加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nginx.conf 815 Bytes
一键复制 编辑 原始数据 按行查看 历史
user root;
worker_processes auto;
events {
worker_connections 1024;
accept_mutex on;
multi_accept on;
use epoll;
}
http {
include mime.types;
default_type application/octet-stream;
keepalive_timeout 60s;
client_max_body_size 10m;
sendfile on;
gzip on;
gzip_min_length 1024;
gzip_comp_level 5;
gzip_buffers 4 16k;
gzip_types text/html text/xml text/plain text/css text/javascript application/javascript application/json application/xml;;
server {
listen 80;
server_name localhost;
location /gateway/ {
proxy_pass http://localhost:7700/;
}
location / {
root /usr/share/nginx/html;
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化