-
Notifications
You must be signed in to change notification settings - Fork 18
Home
Timofey Koolin edited this page Apr 30, 2020
·
3 revisions
- Unzip lets-proxy to C:\programs\lets-proxy2\
- Run command line "as administrator"
cmd sc create lets-proxy_2 binpath= "C:\programs\lets-proxy2\lets-proxy.exe start= auto
useradd -m lets-proxy
- Unpack lets-proxy to /home/lets-proxy
- chown -R lets-proxy:lets-proxy /home/lets-proxy/
- put to /etc/systemd/system/lets-proxy.service
[Unit]
Description=Lets-proxy2 - reverse proxy for handle https traffic
After=network.target
[Install]
WantedBy=multi-user.target
[Service]
ExecStart=/home/lets-proxy/lets-proxy
User=lets-proxy
Group=lets-proxy
WorkingDirectory=/home/lets-proxy
AmbientCapabilities=CAP_NET_BIND_SERVICE
systemctl daemon-reload ; systemctl enable lets-proxy; systemctl start lets-proxy