ipv6-test-backend/nginx/conf.d/root.conf
thehrz e8d67b7b7b
All checks were successful
CI / deploy (push) Successful in 2m37s
pref: update nginx config
2024-08-18 20:54:34 +08:00

21 lines
500 B
Plaintext

server {
listen [::]:80;
listen 80;
server_name ipv6test.online;
gzip on;
gzip_min_length 1k;
gzip_buffers 4 16k;
gzip_http_version 1.1;
gzip_comp_level 9;
gzip_types text/plain application/x-javascript text/css application/xml text/javascript application/javascript application/json;
gzip_disable "MSIE [1-6]\.";
gzip_vary on;
location / {
proxy_pass http://ipv6-test-frontend:3000;
proxy_read_timeout 60;
proxy_connect_timeout 60;
proxy_redirect off;
}
}