Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
This commit is contained in:
2025-10-16 13:11:01 +02:00
parent fcf934aabc
commit 4ac6f9d593
2 changed files with 31 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
# INC0150202 Kohlbrecher Joachim & Wall Edward Owen
server {
listen 80;
server_name spotscan.psi.ch;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name spotscan.psi.ch;
root /opt/webcontent/spotscan;
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/spotscan.access.log;
error_log /var/log/nginx/spotscan.error.log;
location / {
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
try_files $uri $uri/ =404;
}
}
+1
View File
@@ -13,6 +13,7 @@ services:
- /etc/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- /etc/nginx/conf.d:/etc/nginx/conf.d:ro
- /opt/webcontent/sinqstatus:/opt/webcontent/sinqstatus:ro
- /opt/webcontent/spotscan:/opt/webcontent/spotscan:ro
networks:
- public
- backend