Created
April 9, 2022 16:11
-
-
Save l1th1um/0ba3918c26ab0f480631bb7b4edbcee5 to your computer and use it in GitHub Desktop.
Reverse Proxy Nginx for Docker Container
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
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name __; | |
| location / { | |
| proxy_pass http://127.0.0.1:8000/; | |
| proxy_buffering off; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header Connection ""; | |
| proxy_set_header Host $http_host; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment