szabodanika / microbin

A secure, configurable file-sharing and URL shortening web app written in Rust.
https://microbin.eu
BSD 3-Clause "New" or "Revised" License
2.66k stars 167 forks source link

I cant save anything #258

Closed 9acca9 closed 5 months ago

9acca9 commented 5 months ago

HI. I just install and get to work Microbin. i have a domain and "go" to microbin like this: https://www.xxxxxxxx.com/microbin

i get there, and see all fine. But, when try to save something i cant. I dont know where to see some logs. But the webbrowser dont give me any error, also dont do nothing, just after i click "save" that button is "disable" (change the color)

The same thing happens when trying from local: imagen

Im runninng in a manjaro Linux using Nginx as reverse proxy. Thanks!

EDIT: this is my nginx relevant part:

location /microbin/ {
        proxy_pass          http://127.0.0.1:8082/;
        proxy_set_header      Host $host;
        proxy_set_header      X-Forwarded-Proto $scheme;
        proxy_set_header    X-Real-IP $remote_addr;
        proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
    }

This is relevant config from .env export MICROBIN_PUBLIC_PATH=https://www.xxxxxxxxxx.com/microbin

Oh! i get where is the problem! but..... dont know how to solve. When i make click over "save" i see this with the "developments tools" 404 https://www.xxxxxxxxx.com/upload NOT FOUND

and of course... because is not going to https://www.xxxxxxxxx.com/microbin/upload

i mean "/microbin/upload" how i can fix this? Thanks!!!

9acca9 commented 5 months ago

I found this: https://github.com/szabodanika/microbin/issues/108 but i think that this dont work for me. I dont use nginx as docker........ so....... i dont know how to do that.....:-(

9acca9 commented 5 months ago

I create a subdomain and all fixed.