1 Star 0 Fork 127

Acherat/antdv-pro

forked from antdv-pro/antdv-pro 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
default.conf 744 Bytes
Copy Edit Raw Blame History
yanyu authored 2023-11-17 20:38 . fix: change
server {
listen 80;
server_name _;
# gzip config
gzip on;
gzip_min_length 1k;
gzip_comp_level 9;
gzip_types text/plain text/css text/javascript application/json application/javascript application/x-javascript application/xml;
gzip_vary on;
gzip_disable "MSIE [1-6]\.";
root /usr/share/nginx/html;
include /etc/nginx/mime.types;
location / {
try_files $uri $uri/ /index.html;
}
location /api {
# rewrite ^/api(.*)$ $1 break;
proxy_pass https://api.antdv-pro.com;
client_max_body_size 100M;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/acherat/antdv-pro.git
git@gitee.com:acherat/antdv-pro.git
acherat
antdv-pro
antdv-pro
main

Search