Files
WebHosting_DMZ/conf.d/fluid-eos.conf
T
bruhn_b 18f34802e9 cert name
Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
2025-11-14 10:29:19 +01:00

38 lines
817 B
Plaintext

# Churakov Sergey - ISPD migration
server {
listen 80;
server_name fluid-eos.web.psi.ch;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name fluid-eos.web.psi.ch;
root /opt/webcontent/fluid-eos;
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/fluid-eos-test.access.log;
error_log /var/log/nginx/fluid-eos-test.error.log;
location / {
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
try_files $uri $uri/ =404;
}
location ^~ /EOS/ {
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
try_files $uri $uri/ =404;
}
}