Files
WebHosting/conf.d/fluid-eos-test.conf
Basil Bruhn 0b68f41715 prefix match
Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
2025-11-11 11:10:13 +01:00

38 lines
815 B
Plaintext

# Churakov Sergey - ISPD migration
server {
listen 80;
server_name fluid-eos-test.psi.ch;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name fluid-eos-test.psi.ch;
root /opt/webcontent/fluid-eos;
index index.html;
ssl_certificate /etc/nginx/certs/fluid-eos-test.psi.ch.crt;
ssl_certificate_key /etc/nginx/private/fluid-eos-test.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;
}
}