We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
v1.10.0-lts
OpenResty版本: 1.21.4.3-0-focal 网站中任意多添加一个反向代理时,OpenResty的配置中会自动添加 缓存相关配置。这会导致大文件的分片下载失败,就是http header中的 Range参数会被过滤掉。
网站反向代理有打开缓存的状态下,才添加缓存相关配置配置。如果全部网站都关闭缓存的状态,把缓存相关配置配置删除。
No response
The text was updated successfully, but these errors were encountered:
为了方便 1Panel 使用了全局的缓存配置 后续版本优化此处
Sorry, something went wrong.
因为反代缓存问题,经常出现串站现象,每次都得清理反代缓存(PS:已经设置了不开启缓存)。找到一个临时的解决办法,使用chattr 命令将 缓存文件夹设置只读。chattr +i /opt/1panel/apps/openresty/OpenResty/www/common/proxy/proxy_temp_dir,这样就不会再有反代缓存了,不过清除按钮会报错,暂时不影响使用。不想设置的时候,再用chattr -i 改回来就行
chattr +i /opt/1panel/apps/openresty/OpenResty/www/common/proxy/proxy_temp_dir
wanghe-fit2cloud
No branches or pull requests
1Panel 版本
v1.10.0-lts
请描述您的需求或者改进建议
OpenResty版本: 1.21.4.3-0-focal
网站中任意多添加一个反向代理时,OpenResty的配置中会自动添加 缓存相关配置。这会导致大文件的分片下载失败,就是http header中的 Range参数会被过滤掉。
请描述你建议的实现方案
网站反向代理有打开缓存的状态下,才添加缓存相关配置配置。如果全部网站都关闭缓存的状态,把缓存相关配置配置删除。
附加信息
No response
The text was updated successfully, but these errors were encountered: