Re-structured nginx config

This commit is contained in:
Jef Roosens 2021-01-05 14:28:58 +01:00
parent da1df2e798
commit e39e11b3fe
10 changed files with 11 additions and 2 deletions

3
nginx/conf.d/events.conf Normal file
View file

@ -0,0 +1,3 @@
events {
}

View file

@ -1,7 +1,7 @@
version: '3.5'
services:
app:
build: './nginx'
build: './build'
image: 'nginx-certbot:stable-alpine'
env_file:
@ -13,7 +13,8 @@ services:
- '443:443'
volumes:
- 'certs:/etc/letsencrypt'
- './config:/etc/nginx/conf.d'
- './nginx.conf:/etc/nginx/nginx.conf'
- './conf.d:/etc/nginx/conf.d'
networks:
nginx:

View file

@ -0,0 +1,5 @@
# Comma-separated list of domains
DOMAINS=
# Admin email; used for certificates
EMAIL=