Add configs/nc.wittenberger.us.conf
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
<VirtualHost *:80>
|
||||||
|
DocumentRoot "/var/www/nc.wittenberger.us"
|
||||||
|
ServerName nc.wittenberger.us
|
||||||
|
|
||||||
|
<Directory "/var/www/nc.wittenberger.us/">
|
||||||
|
Options MultiViews FollowSymlinks
|
||||||
|
AllowOverride All
|
||||||
|
Order allow,deny
|
||||||
|
Allow from all
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
TransferLog /var/log/apache2/nc.wittenberger.us_access.log
|
||||||
|
ErrorLog /var/log/apache2/nc.wittenberger.us_error.log
|
||||||
|
|
||||||
|
RewriteEngine on
|
||||||
|
RewriteCond %{SERVER_NAME} =nc.wittenberger.us
|
||||||
|
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||||
|
</VirtualHost>
|
||||||
Reference in New Issue
Block a user