Guest User

Untitled

a guest
Mar 19th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. #
  2.  
  3. Supposed we had 3 web apps which up and running on their own ports.
  4. - app1 : BASE_URL:7000
  5. - app2 : BASE_URL:7001
  6. - app3 : BASE_URL:7002
  7.  
  8. Now we already have our NGINX serving on port 80. So, opening a web browser and typing our server's URL will show us `Welcome to nginx!` page.
  9.  
  10. Now we want to have our apps to be accessed via URL, like:
  11. - app1 : BASE_URL/app1
  12. - app2 : BASE_URL/app2
  13. - app3 : BASE_URL/app3
  14.  
  15. Instead of using port numbers.
  16. We can use NGINX for these requirements.
Add Comment
Please, Sign In to add comment