I am able to upload files but i cant download them with the link given in output #76
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mia/0x0#76
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Hi again
I am able to upload files to server but I cant retrieve/download them
the site keeps throwing this error
and url shortner is working so its just files
and thanks again
That looks like you’ve configured 0x0 to use
X-ACCEL-REDIRECT
but your webserver is not set up to handle it.Hi sorry for late reply
there were somethings going on
So I do wanna use
X-ACCEL-REDIRECT
I am using uwsgi to reverse proxy to my domain
here's what I've added to my nginx site config
to enable
X-ACCEL-REDIRECT
but as the above error says its not working(I've tried removing root line but still no progress)I can send and download files when
X-ACCEL-REDIRECT
is off but cant use url shortner but opposite whenX-ACCEL-REDIRECT
is on.I believe in this case you’d have to set
root /;
(since if you’re using an absolute upload path, the path 0x0 passes to nginx is also absolute).I tried that still nothing
Tried relative paths too
I am thinking of running 2 0x0 instances on 2 subdomains now
one for files and other for url shortner
Btw thanks for creating 0x0.st and sharing it with everyone
(I will leave issue open for now if anyone got any other fix for it)