File tree Expand file tree Collapse file tree 1 file changed +18
-13
lines changed Expand file tree Collapse file tree 1 file changed +18
-13
lines changed Original file line number Diff line number Diff line change 11<VirtualHost *:80>
22 ServerName www.hackerspace.sg
3- Redirect permanent / http://hackerspace.sg/
3+ ServerAlias hackerspace.sg
4+ ServerAlias punch.beta.hackerspace.sg
5+ Redirect permanent / https://hackerspace.sg/
46</VirtualHost>
57
6-
7- <VirtualHost *:80>
8- ServerAdmin webmaster@hackerspace.sg
9- ServerName hackerspace.sg
10- ServerAlias punch.beta.hackerspace.sg
11- DocumentRoot /var/www/punch/www
12- <Directory /var/www/punch/www>
13- Options +FollowSymlinks +ExecCGI
14- AllowOverride All
15- </Directory>
16- ErrorLog ${APACHE_LOG_DIR}/punch.error.log
17- CustomLog ${APACHE_LOG_DIR}/punch.access.log combined
8+ <VirtualHost *:443>
9+ ServerAdmin webmaster@hackerspace.sg
10+ ServerName hackerspace.sg
11+ ServerAlias punch.beta.hackerspace.sg
12+ DocumentRoot /var/www/punch/www
13+ <Directory /var/www/punch/www>
14+ Options +FollowSymlinks +ExecCGI
15+ AllowOverride All
16+ </Directory>
17+ ErrorLog ${APACHE_LOG_DIR}/punch.error.log
18+ CustomLog ${APACHE_LOG_DIR}/punch.access.log combined
19+ SSLCertificateFile /etc/letsencrypt/live/hackerspace.sg/cert.pem
20+ SSLCertificateKeyFile /etc/letsencrypt/live/hackerspace.sg/privkey.pem
21+ Include /etc/letsencrypt/options-ssl-apache.conf
22+ SSLCertificateChainFile /etc/letsencrypt/live/hackerspace.sg/chain.pem
1823</VirtualHost>
You can’t perform that action at this time.
0 commit comments