Files
WebHosting_DMZ/conf.d/sinqstatus.conf
T
bruhn_b 76b6dd5ccb root
Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
2025-08-07 18:03:20 +02:00

31 lines
684 B
Plaintext

# INC0150202 Kohlbrecher Joachim & Wall Edward Owen
server {
listen 80;
server_name sinqstatus.psi.ch;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name sinqstatus.psi.ch;
root /opt/webcontent/sinqstatus/Status;
index index.html;
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;
access_log /var/log/nginx/sinqstatus.access.log;
error_log /var/log/nginx/sinqstatus.error.log;
location / {
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
try_files $uri $uri/ =404;
}
}