diff --git a/docker-compose.yml b/docker-compose.yml index f91e242..cb3d8a4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -32,6 +32,7 @@ services: - ./volumes/nginx/certs:/etc/nginx/certs:ro - ./nginx-reverse-proxy-confs/client-max-body-size.conf:/etc/nginx/conf.d/client-max-body-size.conf:ro - ./nginx-reverse-proxy-confs/redirect.conf:/etc/nginx/conf.d/redirect.conf:ro + - ./nginx-reverse-proxy-confs/www.jenkins.ecentrics.net:/etc/nginx/vhost.d/www.jenkins.ecentrics.net_location:ro # Letsencrypt automated creation, renewal and use of Let's Encrypt certificates # Reference: diff --git a/nginx-reverse-proxy-confs/www.jenkins.ecentrics.net b/nginx-reverse-proxy-confs/www.jenkins.ecentrics.net new file mode 100644 index 0000000..a3e0292 --- /dev/null +++ b/nginx-reverse-proxy-confs/www.jenkins.ecentrics.net @@ -0,0 +1 @@ +rewrite ^/(.*)$ http://jenkins.ecentrics.net/$1 permanent;