Files
WebHosting/conf.d/panda-maintenance.conf
T
buchel_k 1031743c36 add OpenMaint as panda-maintenance.psi.ch (#14)
Add a [OpenMaint](https://www.openmaint.org/en/home) instance using the Docker images and compose from https://github.com/itmicus/cmdbuild_docker.

Reviewed-on: linux/WebHosting#14
Reviewed-by: bruhn_b <basil.bruhn@psi.ch>
Co-authored-by: Konrad Bucheli <konrad.bucheli@psi.ch>
Co-committed-by: Konrad Bucheli <konrad.bucheli@psi.ch>
2025-10-28 08:28:56 +01:00

22 lines
619 B
Plaintext

server {
listen 80;
server_name panda-maintenance.psi.ch;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name panda-maintenance.psi.ch;
ssl_certificate /etc/nginx/certs/panda-maintenance.psi.ch.crt;
ssl_certificate_key /etc/nginx/private/panda-maintenance.psi.ch.key;
location / {
proxy_pass http://panda-maintenance-app:8080/cmdbuild;
proxy_set_header Host $host;
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;
}
}