sudo nvim 000-default.conf
ServerName localhost
Redirect permanent / https://localhost/
sudo nvim default-ssl.conf
sudo a2ensite default-ssl.conf
a2query -s
sudo systemctl restart apache2
curl -I http://localhost/
curl -IL -k http://localhost/
Created
April 29, 2025 07:16
-
-
Save nullx5/6dccb55606d5a0a5584ccb69dc297fe7 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GitHub redirige de
https://www.github.com
ahttps://github.com/
301 codeFacebook redirige de
http://facebook.com/
ahttp://www.facebook.com/
301 code