Skip to content

Commit f0763df

Browse files
committed
improve Caddy config docs
TLS with Caddy does not require providing the cert and key files. Also, the removal of `Server` header does not add any security nor is it being does for other servers.
1 parent 610062e commit f0763df

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

docs/Getting-Started/Reverse-Proxy.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ http://romm.mysite.com {
1313
### Caddy + TLS (HTTPS)
1414

1515
```caddyfile
16-
https://romm.mysite.com {
17-
tls mysite.com.crt mysite.com.key # Certificate and key files
18-
16+
romm.mysite.com {
1917
encode zstd gzip
2018
21-
header * {
19+
header {
2220
Strict-Transport-Security "max-age=31536000;"
2321
X-XSS-Protection "1; mode=block"
2422
X-Frame-Options "SAMEORIGIN"

0 commit comments

Comments
 (0)