1 Star 0 Fork 0

mirror_swagger/swagger-editor

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nginx.conf 720 Bytes
一键复制 编辑 原始数据 按行查看 历史
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
gzip on;
gzip_static on;
gzip_disable "msie6";
gzip_vary on;
gzip_types text/plain text/css application/javascript;
add_header X-Frame-Options deny;
server_tokens off; # Hide Nginx version
server {
listen 8080;
server_name localhost;
location / {
absolute_redirect off;
alias /usr/share/nginx/html/;
index index.html index.htm;
location ~* \.(?:json|yml|yaml)$ {
#SWAGGER_ROOT
expires -1;
}
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirror_swagger/swagger-editor.git
git@gitee.com:mirror_swagger/swagger-editor.git
mirror_swagger
swagger-editor
swagger-editor
master

搜索帮助