What's new

Tutorial How to reverse proxy your developed web application using nginx (Django, Nodejs, or any)

raevillena

Honorary Poster
Joined
May 28, 2013
Posts
280
Reaction
480
Points
175
Age
28
Dito mag bibigay ako ng sample para mag configure sa nginx ng mga developed apps/backend/listeners nyo galing sa nodejs, uwsgi or anything similar.
Usually deployed ang mga backend apps or servers sa mga port na non standard and hindi maganda sa eyes pag ginagamit na ng user.
Usually gusto naten is padaanin sa port 80, 443 or http and https. Nasa baba yung sample ng code snippet para sa isang simple na deployment.

Assumptions:
  1. you have app running at port 8000
  2. it can be accessed at 127.0.0.1 internally
  3. you have "example.com" as you domain pointing at the server
  4. nasa /var/www/example.com ang mga static files mo
You do not have permission to view the full content of this post. Log in or register now.
 
Back
Top