Created
April 7, 2019 14:29
-
-
Save sj82516/3b2a3499ffed1326c1aa7f62e690c892 to your computer and use it in GitHub Desktop.
This file contains 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
events { | |
worker_connections 1024; | |
} | |
http { | |
keepalive_timeout 65; | |
server { | |
listen 80; | |
location / { | |
proxy_pass http://api_server; | |
proxy_http_version 1.1; | |
proxy_set_header Connection ""; | |
proxy_set_header Host $host; | |
} | |
} | |
upstream api_server { | |
server host.docker.internal:3000; | |
keepalive 64; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment