Skip to content

Instantly share code, notes, and snippets.

@sj82516
Created April 7, 2019 14:29
Show Gist options
  • Select an option

  • Save sj82516/3b2a3499ffed1326c1aa7f62e690c892 to your computer and use it in GitHub Desktop.

Select an option

Save sj82516/3b2a3499ffed1326c1aa7f62e690c892 to your computer and use it in GitHub Desktop.
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