小编use*_*096的帖子

如何在 QNAP 上使用 squid 缓存所有数据(Facebook、视频、下载和 .exe)

谁能帮我将 Facebook、所有视频、下载、图片和网页缓存在我的 QNAP 上的鱿鱼服务器上?

下面是我的配置。我想使用 4 GB 作为缓存。

我已经尝试了一切,但它无法正常工作。

# The user name and group name Squid will operate as
cache_effective_user httpdusr
cache_effective_group everyone

#
# Recommended minimum configuration:
#
# Auth Method
#auth_param basic program /share/MD0_DATA/.qpkg/Squid/opt/libexec/squid/ncsa_auth /etc/shadow
#auth_param basic children 5
#auth_param basic realm Squid proxy-caching web server
#auth_param basic credentialsttl 2 hours

acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1

# Example rule allowing access from your local networks.
# Adapt …
Run Code Online (Sandbox Code Playgroud)

cache squid

6
推荐指数
1
解决办法
3万
查看次数

标签 统计

cache ×1

squid ×1