Files
WebHosting/conf.d/actris-test.conf
T
2026-01-13 15:16:29 +01:00

31 lines
676 B
Plaintext

# 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;
}
}