Last change
on this file since 2706 was
2642,
checked in by mitchb, 10 years ago
|
Certificate and vhost config for donut-api
|
File size:
1.2 KB
|
Rev | Line | |
---|
[2642] | 1 | # do not trailing-slash DocumentRoot |
---|
| 2 | |
---|
| 3 | <VirtualHost *:80> |
---|
| 4 | ServerName donut-api.mit.edu |
---|
| 5 | ServerAlias donut-api |
---|
| 6 | DocumentRoot /afs/athena.mit.edu/user/j/d/jdreed/web_scripts/donut-api |
---|
| 7 | Alias /~jdreed /afs/athena.mit.edu/user/j/d/jdreed/web_scripts |
---|
| 8 | SuExecUserGroup jdreed jdreed |
---|
| 9 | Include conf.d/vhosts-common.conf |
---|
| 10 | </VirtualHost> |
---|
| 11 | |
---|
| 12 | <IfModule ssl_module> |
---|
| 13 | <VirtualHost *:443> |
---|
| 14 | ServerName donut-api.mit.edu |
---|
| 15 | ServerAlias donut-api |
---|
| 16 | DocumentRoot /afs/athena.mit.edu/user/j/d/jdreed/web_scripts/donut-api |
---|
| 17 | Alias /~jdreed /afs/athena.mit.edu/user/j/d/jdreed/web_scripts |
---|
| 18 | SuExecUserGroup jdreed jdreed |
---|
| 19 | Include conf.d/vhosts-common-ssl.conf |
---|
| 20 | SSLCertificateFile /etc/pki/tls/certs/donut-api.pem |
---|
| 21 | SSLCertificateKeyFile /etc/pki/tls/private/scripts-2048.key |
---|
| 22 | </VirtualHost> |
---|
| 23 | <VirtualHost *:444> |
---|
| 24 | ServerName donut-api.mit.edu |
---|
| 25 | ServerAlias donut-api |
---|
| 26 | DocumentRoot /afs/athena.mit.edu/user/j/d/jdreed/web_scripts/donut-api |
---|
| 27 | Alias /~jdreed /afs/athena.mit.edu/user/j/d/jdreed/web_scripts |
---|
| 28 | SuExecUserGroup jdreed jdreed |
---|
| 29 | Include conf.d/vhosts-common-ssl.conf |
---|
| 30 | Include conf.d/vhosts-common-ssl-cert.conf |
---|
| 31 | SSLCertificateFile /etc/pki/tls/certs/donut-api.pem |
---|
| 32 | SSLCertificateKeyFile /etc/pki/tls/private/scripts-2048.key |
---|
| 33 | </VirtualHost> |
---|
| 34 | </IfModule> |
---|
Note: See
TracBrowser
for help on using the repository browser.