🔒 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
  • 506
    Views
  • 2
    Participants
Last reply from:
Haynakoha

Trending Topics

Online now

Members online
943
Guests online
1,603
Total visitors
2,546

Forum statistics

Threads
2,276,195
Posts
28,968,223
Members
1,231,159
Latest member
Cuong Pham
Back
Top