Skip to content

Instantly share code, notes, and snippets.

@maishsk
Created January 13, 2019 08:47
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save maishsk/cd603bc9a24d95ced7ab874395b72439 to your computer and use it in GitHub Desktop.
nginx Docker image
FROM nginx
COPY nginx.conf /etc/nginx/nginx.conf
worker_processes 1;
events { worker_connections 1024; }
http {
server {
listen 80;
location /hello {
proxy_pass http://node:3000/hello;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment