Updated Set up http proxy server (markdown)

RustDesk
2024-09-06 00:31:24 +08:00
parent e4e229b592
commit 201bb15ac6

@@ -47,7 +47,35 @@ sudo service tinyproxy restart
# Verify if it works
```
curl -x http://<proxy-server-ip>:8888 --proxy-user myuser:mypassword -L https://www.yahoo.com
curl -x http://<proxy-server-ip>:8888 --proxy-user myuser:mypassword -L http://www.yahoo.com
```
e.g. If you do not add `Allow 0.0.0.0/0` in above config file, you will something as below.
```
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>403 Access denied</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<h1>Access denied</h1>
<p>The administrator of this proxy has not configured it to service requests from your host.</p>
<hr />
<p><em>Generated by <a href="https://tinyproxy.github.io/">tinyproxy</a> version 1.11.1.</em></p>
</body>
</html>
```
# Configure it on RustDesk