mod: custom image; forgor ; before
This commit is contained in:
parent
ab00467a8a
commit
4dd72c3eb4
6 changed files with 4 additions and 48 deletions
|
@ -10,7 +10,7 @@ location ^~ /.well-known/acme-challenge/ {
|
|||
## End of configuration add by letsencrypt container
|
||||
|
||||
|
||||
location ^~ /_/nginx {
|
||||
location /_/nginx {
|
||||
add_header Content-Type text/html;
|
||||
return 200 "Nginx is working..."
|
||||
return 200 "Nginx is working...";
|
||||
}
|
|
@ -7,7 +7,8 @@ networks:
|
|||
|
||||
services:
|
||||
proxy:
|
||||
image: nginxproxy/nginx-proxy:latest
|
||||
build:
|
||||
context: custom/proxy
|
||||
container_name: proxy
|
||||
restart: always
|
||||
privileged: true
|
||||
|
@ -16,10 +17,7 @@ services:
|
|||
- 443:443
|
||||
volumes:
|
||||
- /srv/.webcerts:/etc/nginx/certs:rw
|
||||
- /srv/proxy/config/conf.d:/etc/nginx/conf.d
|
||||
- /srv/proxy/other/vhost.d:/etc/nginx/vhost.d
|
||||
- /srv/proxy/data/html:/usr/share/nginx/html
|
||||
- /srv/proxy/config/nginx.conf:/etc/nginx/nginx.conf
|
||||
- /var/run/docker.sock:/tmp/docker.sock
|
||||
labels:
|
||||
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"remote_dir": "/remote",
|
||||
"tasks_dir": "/config/tasks"
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
{
|
||||
"name": "GenericServices",
|
||||
"interval": 86400,
|
||||
"base": "/services",
|
||||
"paths": [
|
||||
".webcerts",
|
||||
"proxy",
|
||||
"jellyfin",
|
||||
"ghost",
|
||||
"gitlab",
|
||||
"searx"
|
||||
],
|
||||
"local_days_of_retention": 1,
|
||||
"remote_days_of_retention": 30,
|
||||
"backup_dir": "/local"
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"name": "KasMC",
|
||||
"interval": 604800,
|
||||
"base": "/services/kasmc",
|
||||
"paths": [
|
||||
"data"
|
||||
],
|
||||
"local_days_of_retention": 7,
|
||||
"remote_days_of_retention": 14,
|
||||
"backup_dir": "/local"
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"name": "SMPXMC",
|
||||
"interval": 86400,
|
||||
"base": "/services/smpxmc",
|
||||
"paths": [
|
||||
"data"
|
||||
],
|
||||
"local_days_of_retention": 7,
|
||||
"remote_days_of_retention": 30,
|
||||
"backup_dir": "/local"
|
||||
}
|
Reference in a new issue