omny web to external hosting

Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
This commit is contained in:
2026-01-29 10:10:13 +01:00
parent 2f7495232e
commit c49600c429
3 changed files with 37 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<VirtualHost *:80>
ServerName omny.psi.ch
DocumentRoot /var/www/omny
<Directory "/var/www/omny">
Options +ExecCGI
AllowOverride None
Require all granted
</Directory>
</VirtualHost>
+25
View File
@@ -0,0 +1,25 @@
# omny-test conf for nginx
server {
listen 80;
server_name omny.psi.ch;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name omny.psi.ch;
ssl_certificate /etc/nginx/certs/lx-docker-dmz-01.psi.ch.crt;
ssl_certificate_key /etc/nginx/private/lx-docker-dmz-01.psi.ch.key;
location / {
proxy_pass http://apache_app: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;
}
}
+1
View File
@@ -30,6 +30,7 @@ services:
volumes:
- /opt/webcontent/DMZ/rfmwtools:/var/www/rfmwtools:ro
- /opt/webcontent/DMZ/fluid-eos:/var/www/fluid-eos:rw
- /opt/webcontent/DMZ/omny:/var/www/omny:rw
- /opt/webcontent/DMZ/cas-status:/var/www/cas_status:rw
- /mount/srem/webhosting:/var/www/srem:rw
- ./apache/conf:/etc/apache2/sites-enabled:ro