Skip to content

Instantly share code, notes, and snippets.

@firvida
Created December 3, 2021 20:21
Show Gist options
  • Save firvida/2e18208844c068c3c7a17f15836e1d01 to your computer and use it in GitHub Desktop.
Save firvida/2e18208844c068c3c7a17f15836e1d01 to your computer and use it in GitHub Desktop.
Polipo service that acts like if it was a file server
[Unit]
Description=Polipo
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=root
ExecStart=/usr/local/bin/polipo proxyPort=80 proxyAddress=0.0.0.0 socksParentProxy=ip:1080 allowedClients=my-subnet displayName=nginx
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment