Skip to content

Instantly share code, notes, and snippets.

@lackofdream
Created January 6, 2016 07:47
Show Gist options
  • Select an option

  • Save lackofdream/7b9f8a364cb0a009c594 to your computer and use it in GitHub Desktop.

Select an option

Save lackofdream/7b9f8a364cb0a009c594 to your computer and use it in GitHub Desktop.
Simple Nginx based file server on Docker
server {
listen 80;
server_name localhost;
charset utf-8;
location / {
root /usr/share/nginx/html;
autoindex on;
}
}
FROM nginx
ADD default.conf /etc/nginx/conf.d/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment