Actually send file contents when using FHOST_USE_X_ACCEL_REDIRECT #20
Loading…
Reference in New Issue
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I try to run 0x0 with the default settings, by going
python3 fhost.py runserver
, and usingFHOST_USE_X_ACCEL_REDIRECT
in the state ofTrue
, it allows me to upload files. However, when I try tocurl
, those files, it throws errors such as this:This is because it isn't actually sending the file contents! The edit to the code I make causes the server to function normally and actually send the file over without issue.
This was made in error. I should have set
FHOST_USE_X_ACCEL_REDIRECT
to False unless using nginx. My apologies for wasting your time.On Mittwoch, 18. Dezember 2019 15:46:46 PST The Stranjer wrote:
No, you should just configure nginx correctly.
https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/
Pull request closed