Skip to content

Instantly share code, notes, and snippets.

@reidsneo
Last active November 21, 2020 06:18
Show Gist options
  • Save reidsneo/47b5bb472e8ac449196f07a804670b3b to your computer and use it in GitHub Desktop.
Save reidsneo/47b5bb472e8ac449196f07a804670b3b to your computer and use it in GitHub Desktop.
Server Configuration
<VirtualHost *:443>
ServerName localhost
ServerAlias localhost
ServerAdmin webmaster@localhost
DocumentRoot "/var/www/html/neoblackant.com/public"
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/certificate.pem
SSLCertificateKeyFile /etc/pki/tls/certs/certificatekey.pem
<Directory /var/www/html/neoblackant.com/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/httpd/neoblackant.com-error.log
CustomLog /var/log/httpd/neoblackant.com-access.log combined
</VirtualHost>
GRANT ALL ON *.* TO 'root'@'%' IDENTIFIED BY 'J8d6uiIpHsu' WITH GRANT OPTION;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment