adamwalach / openvpn-web-ui

Web interface (with golang backend) for monitoring and administration of OpenVPN server
MIT License
674 stars 276 forks source link

Added SSL Support for OpenVPN GUI #9

Open ashleyj opened 6 years ago

ashleyj commented 6 years ago

This PR adds HTTPS support on port 8081

kharkevich commented 6 years ago

You will get the same behavior if you update app.conf file For example:

appname = openvpn-web-ui
httpport = 8080
runmode = dev
EnableGzip = true
EnableAdmin = true
sessionon = true
CopyRequestBody = true

HTTPSCertFile=/opt/dehydrated/certs/vpn.example.com/cert.pem
HTTPSKeyFile=/opt/dehydrated/certs/vpn.example.com/privkey.pem
HTTPSPort=443
EnableHTTPS=true

DbPath = "./data.db"