You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1002 B

server {
listen 80;
# gzip config
gzip on;
gzip_min_length 1k;
gzip_comp_level 9;
gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;
gzip_vary on;
gzip_disable "MSIE [1-6]\.";
root /usr/share/nginx/html;
location / {
try_files $uri $uri/ /index.html;
# rewrite ^/(.*)$ https://preview.pro.ant.design/$1 permanent;
}
#location /api/ {
# rewrite ^/(.*)$ http://10.10.24.110:8010/dsSuppert/$1 permanent;
#}
# location /openapi/ {
# proxy_pass http://10.10.14.186:8015/v1/openapi/;
# proxy_set_header X-Forwarded-Proto $scheme;
# proxy_set_header X-Real-IP $remote_addr;
# }
# location /support {
# proxy_pass http://10.10.14.186:8015;
# proxy_set_header X-Forwarded-Proto $scheme;
# proxy_set_header X-Real-IP $remote_addr;
# }
}