I have an Nginx server running on port 443. I run Wordpress at the root of the server (default page that loads), and Nextcloud under /cloud (domain.com/cloud).

I have stunnel running on my server at port 5643. I need stunnel to run alongside my web server on port 443 to mask my VPN server (so people think its just an https connection).

Is it possible to redirect Nginx traffic to my stunnel server through a specific url (Like https://domain.com/stunnel)? Or is there any other way of doing this at all?

EDIT: This is what I am trying to do, but that post is dormant https://serverfault.com/questions/895901/how-to-put-stunnel-behind-a-nginx-reverse-proxy-to-mask-openvpn/946042#946042

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.