update sslproxy to support large files for nextcloud
This commit is contained in:
4
dockerfiles/sslproxy/cetbot/Dockerfile
Normal file
4
dockerfiles/sslproxy/cetbot/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||||
COPY ./hosts /etc/nginx/conf.d/
|
||||
@@ -8,7 +8,7 @@
|
||||
version: '3'
|
||||
services:
|
||||
app:
|
||||
image: "dkregistry.xai-corp.net:5000/sslproxy:latest"
|
||||
image: "dkregistry.xai-corp.net:5000/sslproxy:2.0"
|
||||
volumes:
|
||||
- /etc/letsencrypt:/etc/letsencrypt:ro
|
||||
ports:
|
||||
@@ -22,7 +22,7 @@ services:
|
||||
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: 5s
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
---
|
||||
# DOCKER_HOST=192.168.2.41:2376 docker-compose up -d
|
||||
# docker login dkregistry.xai-corp.net:5000
|
||||
# docker-compose build && docker push dkregistry.xai-corp.net:5000/sslproxy:latest
|
||||
# DOCKER_HOST=dkhost01:2376 docker stack deploy --with-registry-auth -c docker-compose.yml sslproxy
|
||||
# DOCKER_HOST=dkhost01:2376 docker stack ps sslproxy
|
||||
# docker-compose build && docker push dkregistry.xai-corp.net:5000/sslproxy:2.0
|
||||
# DOCKER_HOST=dkhost:2376 docker stack deploy --with-registry-auth -c docker-compose.yml sslproxy
|
||||
# DOCKER_HOST=dkhost:2376 docker stack ps sslproxy
|
||||
|
||||
version: '3'
|
||||
services:
|
||||
|
||||
app:
|
||||
# restart: always
|
||||
image: "dkregistry.xai-corp.net:5000/sslproxy:latest"
|
||||
image: "dkregistry.xai-corp.net:5000/sslproxy:2.0"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
@@ -18,3 +18,8 @@ services:
|
||||
- /etc/letsencrypt:/etc/letsencrypt:ro
|
||||
ports:
|
||||
- "443:443"
|
||||
|
||||
# certbot:
|
||||
# image: "dkregistry.xai-corp.net:5000/sslproxy:latest"
|
||||
# build:
|
||||
# context: certbot
|
||||
|
||||
@@ -5,6 +5,8 @@ server {
|
||||
ssl_certificate /etc/letsencrypt/live/xaibox.xai-corp.net/cert.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/xaibox.xai-corp.net/privkey.pem;
|
||||
|
||||
client_max_body_size 200m;
|
||||
|
||||
#Strict-Transport-Security: max-age=15768000
|
||||
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user