1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 00:09:16 +08:00

feat: Remove Default Configuration for Reverse Proxy Cache (#7566)

This commit is contained in:
zhengkunwang 2024-12-26 10:16:07 +08:00 committed by GitHub
parent 0f296fb70b
commit afe82bd4be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,11 +1,2 @@
proxy_temp_path /www/common/proxy/proxy_temp_dir;
proxy_cache_path /www/common/proxy/proxy_cache_dir levels=1:2 keys_zone=proxy_cache_panel:20m inactive=1d max_size=5g;
client_body_buffer_size 512k;
proxy_connect_timeout 60;
proxy_read_timeout 60;
proxy_send_timeout 60;
proxy_buffer_size 32k;
proxy_buffers 4 64k;
proxy_busy_buffers_size 128k;
proxy_temp_file_write_size 128k;
proxy_next_upstream error timeout invalid_header http_500 http_503 http_404;