nginx: read full env

single-dockerfile
Ubuntu 3 years ago
parent c1d1e670b5
commit e8c251f152
  1. 2
      nginx/data/nginx/templates/docs.conf.template
  2. 3
      nginx/docker-compose.yaml

@ -12,7 +12,7 @@ map $http_upgrade $connection_upgrade {
} }
server { server {
server_name ${HEDGEDOC_HOSTNAME} server_name ${HEDGEDOC_HOSTNAME};
client_max_body_size 128m; client_max_body_size 128m;
sendfile on; sendfile on;

@ -12,9 +12,8 @@ services:
- ./data/certbot/conf:/etc/letsencrypt - ./data/certbot/conf:/etc/letsencrypt
- ./data/certbot/www:/var/www/certbot - ./data/certbot/www:/var/www/certbot
env_file: env_file:
- ../env.production
- env.production - env.production
#environment:
#- NGINX_ENVSUBST_OUTPUT_DIR=/tmp/sites-enabled
certbot: certbot:
image: certbot/certbot image: certbot/certbot
volumes: volumes:

Loading…
Cancel
Save