Browse Source

fix: ipv6网络适配以及容器内外端口不一致情况重定向端口切换成默认的80 (#9911)

pull/9953/head
DreamPWJ 4 years ago
committed by GitHub
parent
commit
383bc278c3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      docker/nginx.conf

3
docker/nginx.conf

@ -1,5 +1,8 @@
server { server {
listen 80; listen 80;
listen [::]:80;
absolute_redirect off;
# gzip config # gzip config
gzip on; gzip on;
gzip_min_length 1k; gzip_min_length 1k;

Loading…
Cancel
Save