restart policy + max body size

This commit is contained in:
fpotier
2026-06-26 10:18:29 +02:00
parent 24e8cd2b87
commit 4b535339bf
2 changed files with 5 additions and 4 deletions
+2 -3
View File
@@ -1,20 +1,19 @@
server {
listen 80;
server_name scicat-rocrate-development.psi.ch;
client_max_body_size 50M;
client_max_body_size 10G;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
client_max_body_size 50M;
client_max_body_size 10G;
server_name scicat-rocrate-development.psi.ch;
ssl_certificate /etc/nginx/certs/scicat-rocrate-development.psi.ch.crt;
ssl_certificate_key /etc/nginx/private/scicat-rocrate-development.psi.ch.key;
location / {
client_max_body_size 50M;
proxy_pass http://scicat-rocrate-dev:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;