events { worker_connections 1024; } http { server { listen 80; listen [::]:80; listen 443 ssl http2 default_server; listen [::]:443 ssl http2 default_server; server_name localhost; ssl_certificate nginx-cert.crt; ssl_certificate_key nginx-cert.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers HIGH:!aNULL:!MD5; # Increase the allowed body size from 1MB to 10MB, this ensures # large actions such as printing a long receipt will always work. client_max_body_size 10M; location / { proxy_read_timeout 600s; proxy_pass http://127.0.0.1:8069; } } }