forked from FreshPorts/freshports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvhosts.conf.offline
60 lines (39 loc) · 1.65 KB
/
vhosts.conf.offline
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<VirtualHost [2001:470:b8ce::1]:80>
ServerAdmin [email protected]
DocumentRoot /usr/local/www/freshports/www-offline
ServerName www.freshports.org
ServerAlias freshports.org
ErrorLog /var/log/nginx/log/dev.freshports.org-error.log
CustomLog /var/log/nginx/log/dev.freshports.org-access.log combined
ErrorDocument 404 /index.php
</VirtualHost>
<VirtualHost 206.127.23.230:80>
ServerAdmin [email protected]
DocumentRoot /usr/local/www/freshports/www-offline
ServerName www.freshports.org
ServerAlias freshports.org
ErrorLog /var/log/nginx/log/dev.freshports.org-error.log
CustomLog /var/log/nginx/log/dev.freshports.org-access.log combined
ErrorDocument 404 /index.php
</VirtualHost>
<VirtualHost 206.127.23.230:443>
ServerAdmin [email protected]
ServerName www.freshports.org
ServerAlias freshports.org
DocumentRoot /usr/local/www/freshports/www-offline
ErrorLog /var/log/nginx/log/freshports.org-error.log
CustomLog /var/log/nginx/log/freshports.org-access.log combined
ErrorDocument 404 /index.php
Include /usr/local/www/freshports/configuration/ssl-configuration.conf
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/usr/local/www/apache22/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog "/var/log/nginx/log/freshports.org-ssl_request.log" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>