http redirect
This commit is contained in:
@@ -1 +1 @@
|
|||||||
# LoadModule authnz_pam_module modules/mod_authnz_pam.so
|
LoadModule authnz_pam_module modules/mod_authnz_pam.so
|
||||||
@@ -57,3 +57,9 @@ Listen 443 https
|
|||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
# redirect para https
|
||||||
|
<VirtualHost *:80>
|
||||||
|
ServerName 10.60.0.1
|
||||||
|
Redirect permanent / https://10.60.0.1/
|
||||||
|
</VirtualHost>
|
||||||
|
|||||||
@@ -3,16 +3,16 @@ port 1194
|
|||||||
proto udp
|
proto udp
|
||||||
dev tun
|
dev tun
|
||||||
|
|
||||||
|
verb 4
|
||||||
|
|
||||||
# Bro is too honorable
|
# Bro is too honorable
|
||||||
ca /etc/openvpn/server/ca.crt
|
ca /etc/openvpn/server/ca.crt
|
||||||
cert /etc/openvpn/server/vpn.crt
|
cert /etc/openvpn/server/vpn.crt
|
||||||
key /etc/openvpn/server/vpn.key
|
key /etc/openvpn/server/vpn.key
|
||||||
dh /etc/openvpn/server/dh2048.pem
|
dh /etc/openvpn/server/dh2048.pem
|
||||||
|
|
||||||
server 10.8.0.0 255.255.255.0
|
|
||||||
verb 4
|
|
||||||
|
|
||||||
topology subnet
|
topology subnet
|
||||||
|
server 10.8.0.0 255.255.255.0
|
||||||
push "route 10.60.0.0 255.255.255.0"
|
push "route 10.60.0.0 255.255.255.0"
|
||||||
|
|
||||||
# OCSP and Revocation
|
# OCSP and Revocation
|
||||||
|
|||||||
Reference in New Issue
Block a user