Created
March 20, 2023 22:31
-
-
Save lx78WyY0J5/ed1b9eda382bf98f1f418a38a0ce1fb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
DocumentRoot /var/www/html | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
<Directory "/var/www/html"> | |
Options FollowSymLinks | |
AllowOverride All | |
Require all granted | |
</Directory> | |
RewriteEngine on | |
RewriteCond %{SERVER_NAME} =ghub.fr | |
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment