Skip to content

Instantly share code, notes, and snippets.

@DrMartiner
Created September 18, 2018 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DrMartiner/ba946d8d69a084d818bd81c8352f21bc to your computer and use it in GitHub Desktop.
Save DrMartiner/ba946d8d69a084d818bd81c8352f21bc to your computer and use it in GitHub Desktop.
docker-compose.yml Nginx sslforfree.com
server {
listen 80 default_server;
listen [::]:80 default_server;
location / {
root /usr/share/nginx/html;
}
}
version: '2'
services:
nginx:
image: 'nginx:alpine'
restart: always
volumes:
- ./.well-known/:/usr/share/nginx/html/.well-known/
- ./default.conf:/etc/nginx/conf.d/default.conf
ports:
- 80:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment