Skip to content

How to not allocate server's 80 and 443 ports just to sniproxy? #71

Closed Answered by mosajjal
engAmirEng asked this question in Q&A
Discussion options

You must be logged in to vote

your devices (phone PC etc) will not get the info about your port changes, so they blindly try 80 and 443 and nothing else. if you want to re-use 443 and 80 on your server to host other web services as well as sniproxy, you need to either:

  • use nginx as the basic listener for 80 and 443, and sniproxy as upstream (without breaking TLS in nginx)
  • use 80 and 443 for sniproxy by default, but use the override ACL for your "regular" website and make the upstream nginx or whatever services your TLS-enabled website.

the second option is supported by sniproxy and should be fairly easy to set up.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mosajjal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants