Skip to content

Commit 0bd7bab

Browse files
authored
Merge pull request #65 from mohammed90/patch-1
improve Caddy config docs
2 parents 610062e + f0763df commit 0bd7bab

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)