Tinyproxy log output is merged in Docker logs (#45)
This commit is contained in:
@@ -190,13 +190,8 @@ There are various ways to achieve this, depending on your use case.
|
|||||||
- port 8888 published `-p 8888:8888/tcp`
|
- port 8888 published `-p 8888:8888/tcp`
|
||||||
- your LAN subnet, i.e. 192.168.1.0/24, set as `-e EXTRA_SUBNETS=192.168.1.0/24`
|
- your LAN subnet, i.e. 192.168.1.0/24, set as `-e EXTRA_SUBNETS=192.168.1.0/24`
|
||||||
1. With your HTTP proxy client, connect to the Docker host (i.e. `192.168.1.10`) on port `8888`. You might need to enter your credentials if you set them with the environment variables `PROXY_USER` and `PROXY_PASSWORD`.
|
1. With your HTTP proxy client, connect to the Docker host (i.e. `192.168.1.10`) on port `8888`. You might need to enter your credentials if you set them with the environment variables `PROXY_USER` and `PROXY_PASSWORD`.
|
||||||
1. If you set `PROXY_LOG_LEVEL` to `Info`, you can check the log output of tinyproxy with:
|
1. If you set `PROXY_LOG_LEVEL` to `Info`, more information will be logged in the Docker logs, merged with the OpenVPN logs.
|
||||||
|
`PROXY_LOG_LEVEL` defaults to `Critical` to avoid logging everything, for privacy purposes.
|
||||||
```sh
|
|
||||||
docker exec -it pia cat /var/log/tinyproxy/tinyproxy.log
|
|
||||||
```
|
|
||||||
|
|
||||||
`PROXY_LOG_LEVEL` defaults to `Critical` to avoid logging everything, for privacy purposes as well as to save storage.
|
|
||||||
|
|
||||||
</p></details>
|
</p></details>
|
||||||
- <details><summary>Access ports of containers connected to PIA</summary><p>
|
- <details><summary>Access ports of containers connected to PIA</summary><p>
|
||||||
|
|||||||
@@ -391,10 +391,7 @@ if [ "$PROXY" == "on" ]; then
|
|||||||
unset -v PROXY_PASSWORD
|
unset -v PROXY_PASSWORD
|
||||||
printf "DONE\n"
|
printf "DONE\n"
|
||||||
fi
|
fi
|
||||||
printf "[INFO] Launching HTTP proxy TinyProxy..."
|
tinyproxy -d &
|
||||||
tinyproxy
|
|
||||||
exitOnError $?
|
|
||||||
printf "DONE\n"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ MaxSpareServers 20
|
|||||||
StartServers 10
|
StartServers 10
|
||||||
MaxRequestsPerChild 0
|
MaxRequestsPerChild 0
|
||||||
DisableViaHeader Yes
|
DisableViaHeader Yes
|
||||||
LogFile "/var/log/tinyproxy/tinyproxy.log"
|
|
||||||
LogLevel Critical
|
LogLevel Critical
|
||||||
# BasicAuth user password
|
# BasicAuth user password
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user