Update Apache configuration to redirect all traffic to HTTPS

This commit is contained in:
Lukian 2025-01-21 09:35:07 +01:00
parent e135b634ff
commit 4aae1f4dd7

View file

@ -9,7 +9,7 @@
#ServerName www.example.com #ServerName www.example.com
ServerAdmin webmaster@localhost ServerAdmin webmaster@localhost
DocumentRoot /var/www/html Redirect permanent / https://localhost/
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg. # error, crit, alert, emerg.