Merge pull request 'Add actris-test site to the internal hosting' (#26) from actris into main

Reviewed-on: linux/WebHosting#26
This commit is contained in:
2026-01-13 15:27:14 +01:00
4 changed files with 33 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.env

View File

@@ -15,7 +15,7 @@
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@gfa-status.web.psi.ch"
php_admin_value upload_tmp_dir /var/www/clients/client45/web70/tmp
php_admin_value session.save_path /var/www/clients/client45/web70/tmp
php_admin_value open_basedir /var/www/clients/client45/web70/web:/var/www/clients/client45/web70/private:/var/www/clients/client45/web70/tmp:/var/www/gfa-status.web.psi.ch/web:/tmp:/usr/share/php:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/var/www/error/
php_admin_value open_basedir /var/www/clients/client45/web70/web:/var/www/clients/client45/web70/private:/var/www/clients/client45/web70/tmp:/var/www/gfa-status/web:/tmp:/usr/share/php:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/var/www/error/
<Directory /var/www/gfa-status.web.psi.ch/web>
Options +FollowSymLinks +Includes

30
conf.d/actris-test.conf Normal file
View File

@@ -0,0 +1,30 @@
# INC0150202 Kohlbrecher Joachim & Wall Edward Owen
server {
listen 80;
server_name actris-test.psi.ch;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name actris-test.psi.ch;
root /opt/webcontent/actris-test;
index index.html;
ssl_certificate /etc/nginx/certs/actris-test.psi.ch.crt;
ssl_certificate_key /etc/nginx/private/actris-test.psi.ch.key;
access_log /var/log/nginx/actris-test.access.log;
error_log /var/log/nginx/actris-test.error.log;
location / {
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
try_files $uri $uri/ =404;
}
}

View File

@@ -18,6 +18,7 @@ services:
- /etc/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- /etc/nginx/conf.d:/etc/nginx/conf.d:ro
- /opt/webcontent/sinqstatus-test:/opt/webcontent/sinqstatus-test:ro
- /mount/actris:/opt/webcontent/actris-test:ro
- /opt/webcontent/it-strategy-dashboard/frontend/:/opt/webcontent/it-strategy-dashboard/:ro
networks:
- public