Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx Proxy won't upload files #156

Closed
xbdmHQ opened this issue May 13, 2023 · 3 comments
Closed

Nginx Proxy won't upload files #156

xbdmHQ opened this issue May 13, 2023 · 3 comments

Comments

@xbdmHQ
Copy link

xbdmHQ commented May 13, 2023

Hi,

i setup my own send instance, but when i go and test it won't upload. i think i may of done something wrong but i done everything correctly

@Chiogros
Copy link

Hi,

Try to use these headers in your server's / location.

server {
        [...]

        location / {
                proxy_pass http://<your-send-instance-IP>;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "upgrade";
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr; 
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header Host $http_host;
                proxy_pass_header Authorization;
        }
}

Hope it helps.

@xbdmHQ
Copy link
Author

xbdmHQ commented May 20, 2023

Ok, I will try it out

@xbdmHQ
Copy link
Author

xbdmHQ commented May 21, 2023

proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_pass_header Authorization;
}
}

Ok, thanks for that config, and also found the issue it was the Redis. I had to remove it and it worked!

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

No branches or pull requests

2 participants