Created
January 6, 2020 08:00
-
-
Save nwoow/e313ab9d038512e8d5755262fe866dbe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| upstream hello_django { | |
| server 10.128.0.10:8080; | |
| } | |
| server { | |
| listen 80; | |
| location / { | |
| proxy_pass http://hello_django; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_set_header Host $host; | |
| proxy_redirect off; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment