2011年7月7日木曜日

プロクシ自動認証の為squidを設定した。

acl SSL_ports port 9418         # git           for git protocol

# add start
acl mynetwork src 129.1.xx.0/255.255.255.0
http_access allow mynetwork
# add end


# add start
shutdown_lifetime 0 seconds
http_port 3128 transparent
cache_peer 192.168.xxx.xxxparent 8080 3130 proxy-only no-query default login=userid:password
never_direct allow all
# add end

0 件のコメント:

コメントを投稿

シャットダウン時の後処理 (shutdown)

# vi /etc/systemd/system/drop.service [Unit] Description= stop httpgwd DefaultDependencies=no Before=shutdown.target RefuseManualStart=true ...