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

Status
Not open for further replies.

raevillena

Fanatic
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.
 
Status
Not open for further replies.

About this Thread

  • 1
    Replies
  • 510
    Views
  • 2
    Participants
Last reply from:
Haynakoha

Trending Topics

Online now

Members online
1,149
Guests online
2,063
Total visitors
3,212

Forum statistics

Threads
2,292,098
Posts
29,074,583
Members
1,210,172
Latest member
undin25
Back
Top