Skip to content

Commit e9d79ad

Browse files
fix: comment out HTTP redirect block to match optional intent
The redirect VirtualHost was unconditional despite being optional functionality. Commented out with enable instructions so users are not surprised by an unintended port-80 listener. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
1 parent 731cb56 commit e9d79ad

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Cacti-SSL-Configuration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305
7878
SSLOpenSSLConfCmd Ciphersuites TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256
7979
</VirtualHost>
8080
81-
# Redirect all HTTP traffic to HTTPS
82-
<VirtualHost *:80>
83-
ServerName cacti.example.com
84-
Redirect permanent / https://cacti.example.com/
85-
</VirtualHost>
81+
# Optional: redirect HTTP to HTTPS (uncomment to enable)
82+
#<VirtualHost *:80>
83+
# ServerName cacti.example.com
84+
# Redirect permanent / https://cacti.example.com/
85+
#</VirtualHost>
8686
```
8787

8888
Restart Apache after editing:

0 commit comments

Comments
 (0)