Skip to content

Commit 5cd67d5

Browse files
authored
Fix indentation
1 parent bbb14bc commit 5cd67d5

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ It has the following features:
3131
```
3232

3333
Even though you don't have a valid certificate prepared for `example.com`, devproxy automatically generates it on the fly. However, it is necessary to set up the private PKI for issuing bogus server certificates and let your browser trust the PKI's root CA certificate. **DO IT ON YOUR OWN RISK.**
34-
34+
3535
The CA for issuing bogus server certificates is configured as follows:
36-
36+
3737
```
3838
tls:
3939
ca:
4040
cert: testca.rsa.crt.pem
4141
key: testca.rsa.key.pem
4242
hosts:
4343
...
44-
```
45-
44+
```
45+
4646
* Request header modification
4747

4848
You can add / remove arbitrary request HTTP headers for the request being rewritten:
@@ -54,7 +54,7 @@ It has the following features:
5454
headers:
5555
X-Forwarded-Proto: https
5656
Removed-Header: null
57-
```
57+
```
5858

5959
* Testing FastCGI-enabled upstream
6060

@@ -68,7 +68,7 @@ It has the following features:
6868
X-Cgi-Script-Filename: /var/www/document/root$2
6969
X-Cgi-Script-Name: $2
7070
X-Cgi-Path-Info: $3
71-
```
71+
```
7272

7373
* Proxy chaining
7474

@@ -80,35 +80,35 @@ It has the following features:
8080
https: http://another-proxy-server:8080
8181
```
8282

83-
`excluded` directive can be used when you want to prevent the requests to the specific hosts from being proxied.
83+
`excluded` directive can be used when you want to prevent requests for the specific hosts from being proxied.
8484

8585
```
8686
excluded:
8787
- 127.0.0.1
8888
- localhost
89-
- intranet.example.com
90-
```
91-
89+
- intranet.example.com
90+
```
91+
9292
Or inversely, in case of whitelisting:
9393

9494
```
95-
included:
95+
included:
9696
- intranet.example.com
9797
- foobar.example.com
98-
```
99-
98+
```
99+
100100
TLS proxy can also be specified.
101-
101+
102102
```
103103
proxy:
104104
http: https://anoother-proxy-server:8443
105105
https: https://another-proxy-server:8443
106106
tls:
107107
ca_certs: cabundle.crt.pem
108108
certs:
109-
- cert: client_crt.pem # this can be either the filename of a PEM-formatted certificate or a PEM string itself.
110-
key: client_key.pem # this can be either the filename of a PEM-formatted private key or a PEM string itself.
111-
```
109+
- cert: client_crt.pem # this can be either the filename of a PEM-formatted certificate or a PEM string itself.
110+
key: client_key.pem # this can be either the filename of a PEM-formatted private key or a PEM string itself.
111+
```
112112

113113
## Installation
114114

0 commit comments

Comments
 (0)