diff --git a/apps/openresty/1.31.1.1-2-4-noble/conf/http.d/.gitkeep b/apps/openresty/1.31.1.1-2-4-noble/conf/http.d/.gitkeep new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/apps/openresty/1.31.1.1-2-4-noble/conf/nginx.conf b/apps/openresty/1.31.1.1-2-4-noble/conf/nginx.conf index d1aa15366fbe..e5b060c8c45a 100644 --- a/apps/openresty/1.31.1.1-2-4-noble/conf/nginx.conf +++ b/apps/openresty/1.31.1.1-2-4-noble/conf/nginx.conf @@ -37,15 +37,15 @@ http { gzip_min_length 1k; gzip_buffers 4 16k; gzip_http_version 1.1; - gzip_comp_level 2; - gzip_types text/plain application/javascript application/x-javascript text/javascript text/css application/xml; + gzip_comp_level 5; + gzip_types text/plain text/css text/xml text/javascript application/json application/ld+json application/javascript application/x-javascript application/xml application/xhtml+xml application/rss+xml application/atom+xml application/wasm image/svg+xml font/ttf font/otf; gzip_vary on; - gzip_proxied expired no-cache no-store private auth; - gzip_disable "MSIE [1-6]\."; + gzip_proxied any; limit_conn_zone $binary_remote_addr zone=perip:10m; limit_conn_zone $server_name zone=perserver:10m; + include /usr/local/openresty/nginx/conf/http.d/*.conf; include /usr/local/openresty/nginx/conf/conf.d/*.conf; include /usr/local/openresty/nginx/conf/default/*.conf; include /usr/local/openresty/1pwaf/data/conf/waf.conf; diff --git a/apps/openresty/1.31.1.1-2-4-noble/docker-compose.yml b/apps/openresty/1.31.1.1-2-4-noble/docker-compose.yml index bf1df68b34dc..99559e479cb1 100644 --- a/apps/openresty/1.31.1.1-2-4-noble/docker-compose.yml +++ b/apps/openresty/1.31.1.1-2-4-noble/docker-compose.yml @@ -19,6 +19,7 @@ services: - ./conf/default:/usr/local/openresty/nginx/conf/default/ - ./conf/ssl:/usr/local/openresty/nginx/conf/ssl/ - ./conf/modules-enabled:/usr/local/openresty/nginx/conf/modules-enabled/:ro + - ./conf/http.d:/usr/local/openresty/nginx/conf/http.d/:ro - ./modules:/usr/local/openresty/nginx/modules/1panel/:ro - ./log:/var/log/nginx - ./root:/usr/share/nginx/html