updated config

This commit is contained in:
2026-01-22 15:51:26 +01:00
parent b4af114141
commit faf235ef74
2 changed files with 14 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ server {
ssl_certificate_key /etc/nginx/private/lbr-scheduler.psi.ch.key;
location / {
proxy_pass http://apache_app:80;
proxy_pass http://legacy_scheduleit:80;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View File

@@ -42,6 +42,19 @@ services:
networks:
- backend
legacy_scheduleit:
# image: gitea.psi.ch/images/php-apache:latest
image: gitea.psi.ch/images/legacy_scheduleit:latest
restart: always
container_name: legacy_scheduleit
ports:
- "80:80"
volumes:
- /opt/webcontent/lbr-scheduler/code:/var/www/lbr-scheduler:rw
- /opt/webcontent/lbr-scheduler/apache/conf:/etc/apache2/sites-enabled:ro
- /etc/timezone:/etc/timezone:ro
# linux-eng@psi.ch
# Test app
excalidraw: