Files
mtusi2026lab7/infra/s3/nginx.conf
T

18 lines
478 B
Nginx Configuration File

server {
listen 8443 ssl;
server_name s3-tls;
ssl_certificate /run/secrets/s3-tls.crt;
ssl_certificate_key /run/secrets/s3-tls.key;
ssl_protocols TLSv1.2 TLSv1.3;
client_max_body_size 12m;
proxy_connect_timeout 2s;
proxy_read_timeout 60s;
proxy_send_timeout 60s;
location / {
proxy_pass http://s3:8333;
proxy_set_header Host $http_host;
proxy_set_header Connection "";
proxy_request_buffering off;
}
}