Conversation

xim

Proposed changes

Fixes #656 ; Ability to set file permissions for uploads when using client_body_temp_path

verified to work with config

    location / {
        proxy_pass http://localhost:8000/;

        client_body_temp_access group:rw;
        client_body_in_file_only clean;
        proxy_set_header X-File $request_body_file;
        proxy_set_body off;
    }

Adds ability to set file permissions for uploads when using
client_body_temp_path

Fixes nginx#656
@xim

Commit message / PR description updated to correctly reference issue.

@pluknet

What is the exact purpose?

Note: this is used to store temporary files on disk, in case the request body doesn't fit in memory, i.e. is larger than client_body_buffer_size.
They are removed once the request is processed.

@xim

Sign up for free to join this conversation on . Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

Ability to set file permissions for uploads when using client_body_temp_path