Merge pull request 'slsbl' (#88) from flechsig/WebHosting:main into main

Reviewed-on: linux/WebHosting#88
This commit is contained in:
bruhn_b committed 2026-09-10 13:47:20 +02:00
commit 326cd79289
2 files changed
+44

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
# slsbl conf for nginx
server {
listen 80;
client_max_body_size 20M;
server_name slsbl.psi.ch;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
client_max_body_size 20M;
server_name slsbl.psi.ch;
ssl_certificate /etc/nginx/certs/slsbl.psi.ch.crt;
ssl_certificate_key /etc/nginx/private/slsbl.psi.ch.key;
location / {
client_max_body_size 20M;
proxy_pass http://slsbl: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;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Cookie $http_cookie;
proxy_set_header Authorization $http_authorization;
}
}
+16
View File
@@ -196,6 +196,22 @@ services:
networks:
- backend
# Flechsig Uwe <uwe.flechsig@psi.ch>
# slsbl
# webcontent:
# lx-fs-01.psi.ch:/lx_webhosting
slsbl:
image: gitea.psi.ch/images/slsbl:1.0
container_name: slsbl
restart: always
volumes:
- /opt/webcontent/slsbl/cgi-bin:/usr/local/apache2/cgi-bin
- /opt/webcontent/slsbl/conf:/usr/local/apache2/conf
- /opt/webcontent/slsbl/htdocs:/usr/local/apache2/htdocs
- /opt/webcontent/slsbl/log:/var/log/apache2
networks:
- backend
# Angelo Sozzi INC0150655 angelo.sozzi@psi.ch
# POC Software - might be installed on docker-dmz
n8n: