-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvirtuals
44 lines (33 loc) · 1.22 KB
/
virtuals
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
#Wanscam Camera on 192.168.20.101:99
<VirtualHost *:99>
ProxyPass / http://192.168.20.101/
ProxyPassReverse / http://192.168.20.101/
Redirect "/" "http://192.168.20.101:99/"
</VirtualHost>
#Avtech Camera on 192.168.20.102:98
<VirtualHost *:98>
ProxyPass / http://192.168.20.102/
ProxyPassReverse / http://192.168.20.102/
Redirect "/" "http://192.168.20.102:98/"
</VirtualHost>
#zm.stevewright.nz
#Port 80
<VirtualHost 192.168.20.210:80>
ServerName zm.stevewright.nz
ServerAlias www.zm.stevewright.nz
ProxyPreserveHost Off
ProxyPass / http://192.168.20.210/
ProxyPassReverse / http://192.168.20.210/
Redirect "/" "https://zm.stevewright.nz/"
</VirtualHost>
#Port 443
<VirtualHost 192.168.20.210:443>
ServerName zm.stevewright.nz
ServerAlias www.zm.stevewright.nz
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/stevewright.nz/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/stevewright.nz/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/stevewright.nz/fullchain.$
ProxyPass / http://192.168.20.210/
ProxyPassReverse / http://192.168.20.210/
</VirtualHost>