Re-structured nginx config
parent
da1df2e798
commit
e39e11b3fe
|
@ -0,0 +1,3 @@
|
|||
events {
|
||||
|
||||
}
|
|
@ -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:
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# Comma-separated list of domains
|
||||
DOMAINS=
|
||||
|
||||
# Admin email; used for certificates
|
||||
EMAIL=
|
Reference in New Issue