Update Nginx-Proxy Docker repository (#1644)

Signed-off-by: Lejo1 <Lejo_1@web.de>
This commit is contained in:
Lejo 2021-12-10 10:53:51 +01:00 committed by GitHub
parent 5a189c719d
commit 3619c0caac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 20 additions and 28 deletions

View File

@ -91,7 +91,7 @@ If you want to update your installation to a newer version of nextcloud, repeat
The nginx proxy adds a proxy layer between nextcloud and the internet. The proxy is designed to serve multiple sites on the same host machine.
The advantage in adding this layer is the ability to add a container for [Let's Encrypt](https://letsencrypt.org/) certificate handling.
This combination of the [jwilder/nginx-proxy](https://github.com/jwilder/nginx-proxy) and [jrcs/docker-letsencrypt-nginx-proxy-companion](https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion) containers creates a fully automated https encryption of the nextcloud installation without worrying about certificate generation, validation or renewal.
This combination of the [nginxproxy/nginx-proxy](https://github.com/nginx-proxy/nginx-proxy) and [nginxproxy/acme-companion](https://github.com/nginx-proxy/acme-companion) containers creates a fully automated https encryption of the nextcloud installation without worrying about certificate generation, validation or renewal.
**This setup only works with a valid domain name on a server that is reachable from the internet.**

View File

@ -52,8 +52,6 @@ services:
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
@ -63,13 +61,13 @@ services:
- proxy-tier
letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
image: nginxproxy/acme-companion
restart: always
volumes_from:
- proxy
volumes:
- certs:/etc/nginx/certs
- certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier

View File

@ -1,3 +1,3 @@
FROM jwilder/nginx-proxy:alpine
FROM nginxproxy/nginx-proxy:alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf

View File

@ -61,8 +61,6 @@ services:
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
@ -72,13 +70,13 @@ services:
- proxy-tier
letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
image: nginxproxy/acme-companion
restart: always
volumes_from:
- proxy
volumes:
- certs:/etc/nginx/certs
- certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier

View File

@ -1,3 +1,3 @@
FROM jwilder/nginx-proxy:alpine
FROM nginxproxy/nginx-proxy:alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf

View File

@ -49,8 +49,6 @@ services:
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
@ -60,13 +58,13 @@ services:
- proxy-tier
letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
image: nginxproxy/acme-companion
restart: always
volumes_from:
- proxy
volumes:
- certs:/etc/nginx/certs
- certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier

View File

@ -1,3 +1,3 @@
FROM jwilder/nginx-proxy:alpine
FROM nginxproxy/nginx-proxy:alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf

View File

@ -58,8 +58,6 @@ services:
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
@ -71,11 +69,11 @@ services:
letsencrypt-companion:
image: nginxproxy/acme-companion
restart: always
volumes_from:
- proxy
volumes:
- certs:/etc/nginx/certs
- certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier

View File

@ -1,3 +1,3 @@
FROM jwilder/nginx-proxy:alpine
FROM nginxproxy/nginx-proxy:alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf