xhdix / openconnect-installer

Automatically set up an Openconnect/Anyconnect VPN server(ocserv) with Let's Encrypt with just one command in CentOS 8.
The Unlicense
127 stars 34 forks source link

How can we use this script to install open connect next to nginx on a subdomain? #2

Closed rxmoein closed 3 years ago

rxmoein commented 3 years ago

I have nginx running on my server and I want to have this service next to it on a subdomain, how is this possible?

xhdix commented 3 years ago

Only these changes are needed: https://github.com/xhdix/openconnect-installer/compare/nginx-subdomain (Not tested. I will be glad to know that it works as expected.)

But about changing the port*, consider this: https://geneva.cs.umd.edu/posts/iran-whitelister/

[*] Change 443 to 2083, cPanel default port.