-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
885b08d
commit 71cb046
Showing
1 changed file
with
2 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
# Basic port configuration | ||
http_port 3128 | ||
|
||
# Define allowed ports | ||
acl SSL_ports port 443 8000 | ||
acl Safe_ports port 80 443 8000 | ||
acl CONNECT method CONNECT | ||
|
||
# Access rules | ||
acl SSL_ports port 443 8000 | ||
http_access allow CONNECT SSL_ports | ||
http_access allow Safe_ports | ||
http_access deny !Safe_ports | ||
http_access deny CONNECT !SSL_ports | ||
http_access allow all | ||
|
||
# Basic configuration | ||
coredump_dir /var/spool/squid | ||
visible_hostname forward_proxy | ||
http_access allow all |