forked from linux/WebHosting
Merge pull request 'updated config for lbr-scheduler' (#38) from lbr-scheduler into main
Reviewed-on: linux/WebHosting#38
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user