-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathapache.conf
37 lines (30 loc) · 1.11 KB
/
apache.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<IfModule mod_ssl.c>
<VirtualHost access.me.uk:443>
ServerAdmin admin@access.me.uk
ServerAlias access.aa.net.uk
DocumentRoot /projects/SolarSystem/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /projects/SolarSystem/www>
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride None
Order allow,deny
require all granted
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel info
CustomLog ${APACHE_LOG_DIR}/access.log combined
AddHandler cgi-script .cgi
AddDefaultCharset utf-8
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ServerName access.me.uk
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/access.me.uk/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/access.me.uk/privkey.pem
</VirtualHost>
</IfModule>