-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver-dist.cfg
More file actions
74 lines (63 loc) · 2.28 KB
/
server-dist.cfg
File metadata and controls
74 lines (63 loc) · 2.28 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[Listen]
0.0.0.0=80
::=80
127.0.0.1=443
::1=443
192.168.1.1=443
[common]
DefaultItem = index.html index.php default.html dehault.php index.htm default.htm
RootDir = D:/Users/Thomas/html
DeflateTyps = text/html text/plain text/xml text/css text/javascript application/javascript
LogFile = ./logs/default_access.log
ErrorLog = ./logs/default_error.log
AliasMatch = ^/files(.*) D:/Users/Thomas/html/DateiStore$1
AliasMatch = ^/unicode(.*) D:/Users/Thomas/html/使用下列语言$1
#RewriteRule = ^(.*)\.php$ $1.html
RewriteRule = ^/BigFile$ /ubuntu-14.04.1-desktop-i386.iso
FileTyps = php C:/Users/Thomas/Programme/php/php-cgi.exe
FileTyps = pl "\"C:/Strawberry/perl/bin/perl.exe\" \"$1\""
SetEnvIf = Request_URI "^.*favicon\.ico$" DONTLOG
ForceType = ^/.well-known/acme-challenge/(.*) text/plain
Authenticate = ^/files/.* "Realm Files" Basic|Digest Username:Password,Username2:Password2
# Source Control access
ScriptAliasMatch = ^/scgit/(.*) "C:/Program Files/Git/mingw64/libexec/git-core/git-http-backend.exe/$1"
ScriptOptionsHdl = ^/scgit/(.*)
Authenticate = ^/scgit/.* "Git - Repositorie" Basic Username:Password
SetEnvIf = Request_URI "^/scgit/.*" GIT_PROJECT_ROOT=H:/GitRepos
SetEnvIf = Request_URI "^/scgit/.*" GIT_HTTP_EXPORT_ALL=1
[0.0.0.0:80]
VirtualHost = thomas-pc,hauck.example.de
[192.168.161.1:443]
SSL=true
KeyFile=./certs/192-168-1-1-key.pem
CertFile=./certs/192-168-1-1.pem
CaBundle=./certs/ca-root.pem
VirtualHost = thomas-pc,hauck.example.de
[127.0.0.1:443]
SSL=true
KeyFile=./certs/127-0-0-1-key.pem
CertFile=./certs/127-0-0-1.pem
CaBundle=./certs/ca-root.pem
[thomas-pc:80]
LogFile = ./logs/thomas-pc_access.log
ErrorLog = ./logs/thomas-pc_error.log
[hauck.example.de:80]
LogFile = ./logs/hauck-example-de_access.log
ErrorLog = ./logs/hauck-example-de_error.log
[thomas-pc:443]
SSL=true
KeyFile=./certs/thomas-pc-key.pem
CertFile=./certs/thomas-pc.pem
CaBundle=./certs/ca-root.pem
LogFile = ./logs/thomas-pc_access.log
ErrorLog = ./logs/thomas-pc_error.log
[hauck.example.de:443]
SSL=true
KeyFile=./certs/hauck-example-de-key.pem
CertFile=./certs/hauck-example-de.pem
CaBundle=./certs/ca-root.pem
AddHeader = Strict-Transport-Security "max-age=300" # "max-age=31536000; includeSubDomains; preload"
LogFile = ./logs/hauck-example-de_access.log
ErrorLog = ./logs/hauck-example-de_error.log
@mime.cfg