You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
567 B

  1. server {
  2. server_name s3.local;
  3. ignore_invalid_headers off;
  4. client_max_body_size 0;
  5. proxy_buffering off;
  6. location / {
  7. proxy_pass http://minio:9000;
  8. proxy_set_header Host $host;
  9. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  10. proxy_set_header X-Real-IP $remote_addr;
  11. proxy_connect_timeout 300;
  12. # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
  13. proxy_http_version 1.1;
  14. proxy_set_header Connection "";
  15. chunked_transfer_encoding off;
  16. }
  17. listen 80;
  18. }