Clean up my edits

Matthew Strasiotto
2021-07-05 09:45:28 +10:00
parent b194f527d0
commit 68d130d1ea
+5 -8
@@ -53,8 +53,9 @@ What you need:
network.scgi.open_local = /home/user/rtorrent/rpc.socket
# Set correct access rights to the socket file ----------+
# so both, lighttpd and rtorrent, could perform |
# read-write operations v
# so both rtorrent & your reverse proxy can performed |
# read-write operations |
# but most users on the system can not v
schedule2 = scgi_permission,0,0,"execute.nothrow=chmod,\"g+w,o=\",/home/user/rtorrent/rpc.socket"
```
@@ -69,11 +70,6 @@ SCGIMount /RPC2 socket_path <TODO: Check syntax to mount unix sockets>
ProxyPass /RPC2 scgi://socket_path <TODO: Check syntax to mount unix sockets>
```
**rtorrent.rc**:
```ini
network.scgi.open_port = 127.0.0.1:5000
```
### Lighttpd:
**lighttpd.conf**:
@@ -101,7 +97,8 @@ scgi.server = (
```conf
# This webserver is actually in a container that only publishes 8080 (container) -> localhost:8080 (host)
# IN reality, the http server should have TLS / SSL
# Achieving this with nginx, traefik, or the reverse proxy of your choice is well documented.
server {
listen 0.0.0.0:8080;
error_log ${CONFIG_DIR}/nginx/nginx.error.log;