Remove white space

This commit is contained in:
Sandro Jäckel 2019-05-24 11:23:52 +02:00 committed by 3wc
parent fe1404de80
commit 614e438eed
1 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
Compy
=====
Compy is an HTTP/HTTPS forward proxy with content compression/transcoding capabilities.
Compy is an HTTP/HTTPS forward proxy with content compression/transcoding capabilities.
One use case is to reduce bandwidth usage when browsing on limited mobile broadband connection.
@ -55,7 +55,7 @@ This tells the browser to fetch HTTP and HTTPS URLs via the HTTPS proxy and for
Set the path to this file in the browser UI and you're good to go.
### MitM
To enable man-in-the-middle support, you will need to generate a root cert to sign all the certs generated by the proxy on the fly:
To enable man-in-the-middle support, you will need to generate a root cert to sign all the certs generated by the proxy on the fly:
```
openssl req -x509 -newkey rsa:2048 -nodes -keyout ca.key -out ca.crt -days 3650 -subj '/CN=<your-domain>'
```
@ -65,7 +65,7 @@ and add it to your client (browser) as a trusted certificate authority
Usage
-----
To run a simple http forward proxy:
To run a simple http forward proxy:
```
compy
```
@ -75,7 +75,7 @@ To run it over TLS:
compy -cert cert.crt -key cert.key
```
With man in the middle support:
With man in the middle support:
```
compy -ca ca.crt -cakey ca.key
```
@ -91,7 +91,7 @@ You can limit access to your proxy via HTTP BASIC authentication:
compy -cert cert.crt -key cert.key -user myuser -pass mypass
```
You can also specify the listen port (defaults to 9999):
You can also specify the listen port (defaults to 9999):
```
compy -host :9999
```
@ -120,7 +120,7 @@ References
Credits
-------
https://github.com/pixiv/go-libjpeg
https://github.com/pixiv/go-libjpeg
https://github.com/tdewolff/minify