Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

Setting NGINX for two website

$
0
0
Hello,
Hi, I have a problem. I need to configure nginx including 3 websites. 2 of these websites, do not have context root and I can not add it for various reasons. How can I solve?

server {
listen 8080;
location /{
proxy_pass http://localhost:8080;
}

location /{
proxy_pass http://localhost:8080;
}

location /users/{
proxy_pass http://localhost:8080/users/;
}
}

if I put a location, I have trouble getting the correct site. thank you very much for helping

Viewing all articles
Browse latest Browse all 972


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>