add scicat-rocrate

This commit is contained in:
fpotier
2026-06-26 11:14:24 +02:00
parent 44cdec3271
commit e322fbb1fb
2 changed files with 36 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
server {
listen 80;
server_name scicat-rocrate.psi.ch;
client_max_body_size 10G;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
client_max_body_size 10G;
server_name scicat-rocrate.psi.ch;
ssl_certificate /etc/nginx/certs/scicat-rocrate.psi.ch.crt;
ssl_certificate_key /etc/nginx/private/scicat-rocrate.psi.ch.key;
location / {
proxy_pass http://scicat-rocrate:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Cookie $http_cookie;
proxy_set_header Authorization $http_authorization;
}
}