Answer the question
In order to leave comments, you need to log in
How to set up nginx on multiple ports?
There is a server on Debian, it has plesk12 (apache + nginx), which took over port 80 and all sites loaded through splash work fine.
You need to deploy an application written in meteor to the same server, that is, you cannot install it through the splash, and if you deploy separately, you have to set a different port, in my case 8080. did he forward the domain to port 8080? I guess what can be done through reverse proxy, but not when I didn’t do it, so I would like to hear the opinion of people with experience.
Answer the question
In order to leave comments, you need to log in
Something like this:
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://127.0.0.1:8080;
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question