Bonjour je tente d'utiliser le Travail de Xataz concernant le Nginx.
Je n'ai pas vraiment d'erreur et du coup je sèche.
voici le docker-compose
version: '2'
networks:
default:
driver: bridge
services:
reverse:
container_name: nginx
image: xataz/reverse-nginx
ports:
- "80:8080"
- "443:8443"
environment:
- EMAIL=mail@gmail.com
- UID=991
- GID=991
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /docker/nginx_xataz/ssl:/nginx/ssl
- /docker/nginx_xataz/sites_enabled:/nginx/sites_enabled
- /docker/nginx_xataz/path.d:/nginx/path.d
- /docker/nginx_xataz/custom_sites:/nginx/custom_sites
depends_on:
- rutorrent
restart: always
rutorrent:
image: xataz/rtorrent-rutorrent:latest-filebot
container_name: rutorrent
labels:
- reverse.frontend.domain=torrent.ndl.com
- reverse.frontend.path=torrent
- reverse.frontend.auth=login:PassWord
- reverse.frontend.ssltype=ec256
- reverse.frontend.ssl = true
- reverse.backend.port=8080
environment:
- WEBROOT=/torrent
- UID=1003
- GID=1003
ports:
- "45000:45000"
volumes:
- /home/mister.t/data:/data
- /docker/seedbox/torrent:/config/rutorrent/conf
restart: always
Il ne crée pas de configuration dans Sites_enabled.
Pourtant le dossiers crée a bien les droits en 991:991.
voici le logs:
docker logs -f nginx
=INF= 2018/03/04-20:49:46 Check if /var/run/docker.sock exist ...
=INF= 2018/03/04-20:49:46 /var/run/docker.sock exist ...
=INF= 2018/03/04-20:49:46 Start reverse configuration ...
=INF= 2018/03/04-20:49:46 Create user 'reverse' ...
=SUC= 2018/03/04-20:49:46 Create user 'reverse' done
=INF= 2018/03/04-20:49:46 Create folder ...
=SUC= 2018/03/04-20:49:46 Create folder done
=INF= 2018/03/04-20:49:46 Generate SSL configuration ...
=SUC= 2018/03/04-20:49:46 Generate SSL configuration done
=INF= 2018/03/04-20:49:46 Download Letsencrypt Certs ...
Connecting to letsencrypt.org (23.38.13.120:443)
- 100% |*******************************| 1647 0:00:00 ETA
Connecting to letsencrypt.org (23.38.13.120:443)
- 100% |*******************************| 1647 0:00:00 ETA
=SUC= 2018/03/04-20:49:46 Download Letsencrypt Certs done
=INF= 2018/03/04-20:49:46 Generate configuration for torrent.ndl.com, with options :
=INF= 2018/03/04-20:49:46 path=torrent
=INF= 2018/03/04-20:49:46 auth=login:PassWord
=INF= 2018/03/04-20:49:46 port=8080
=INF= 2018/03/04-20:49:46 ssl=true
=INF= 2018/03/04-20:49:46 ssl_type=ec256
=INF= 2018/03/04-20:49:46 hsts=enable
=INF= 2018/03/04-20:49:46 ocsp=enable
=INF= 2018/03/04-20:49:46 ct=disable
=SUC= 2018/03/04-20:49:46 Configuration for torrent.ndl.com done
=INF= 2018/03/04-20:49:46 Apply permissions ...
=SUC= 2018/03/04-20:49:46 Apply permissions done
=SUC= 2018/03/04-20:49:46 End reverse configuration
=INF= 2018/03/04-20:50:46 Certificate for torrent.ndl.com is good for another 10 days!
=INF= 2018/03/04-20:50:47 Certificate for ndl.com is good for another 10 days!