Answer the question
In order to leave comments, you need to log in
How to set up nginx server on different ports for different tasks?
Plz tell me how to do it better?
There is a VPS server with nginx on which express.js runs on port 5000
There is a third-party hosting domain with an ssl certificate that redirects all requests to the VPS and communicates with api through nginx
Now you need to install viber-bot on the VPS that works via webhook.
How can I configure nginx so that I can bind the vibera webhook to a domain with an ssl certificate and it redirects to my VPS but to a different port, not where express.js is running?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question