OpenMaint: fix mixed content block (#18)

Reviewed-on: linux/WebHosting#18
Co-authored-by: Konrad Bucheli <konrad.bucheli@psi.ch>
Co-committed-by: Konrad Bucheli <konrad.bucheli@psi.ch>
This commit is contained in:
2025-10-28 11:03:53 +01:00
committed by buchel_k
parent 9ff88d5de0
commit b018578b30
2 changed files with 2 additions and 4 deletions
+2
View File
@@ -23,5 +23,7 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# https://forum.cmdbuild.org/t/cmdbuild-behind-nginx-reverse-proxy/5070/3
add_header Content-Security-Policy upgrade-insecure-requests always;
}
}
-4
View File
@@ -249,8 +249,6 @@ services:
container_name: panda-maintenance-db
volumes:
- /opt/webcontent/panda-maintenance/data:/var/lib/postgresql/data:rw
ports:
- 5432:5432
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=${PANDA_MAINTENANCE_DB_PW}
@@ -273,8 +271,6 @@ services:
depends_on:
panda-maintenance-db:
condition: service_healthy
ports:
- 8080:8080
restart: always
volumes:
- /opt/webcontent/panda-maintenance/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh:ro