You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
location /microbin {
return 301 $scheme://$host/microbin/;
}
location /microbin/ {
set $upstream_app microbin;
set $upstream_port 8080;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
rewrite /microbin(.*) $1 break;
}
and uploading file was not working, so I had to add this to my nginx config:
`location /upload {
set $upstream_app microbin;
set $upstream_port 8080;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port/upload;
}`
and also the "?" which should redirect to /microbin/guide, does redirect to /guide
The text was updated successfully, but these errors were encountered:
Hello,
It seems that MICROBIN_PUBLIC_PATH is not working correctly.
To Reproduce
I ran microbin on docker, with
MICROBIN_PUBLIC_PATH=https://mydomain.tld/microbin/
behind a nginx reverse proxy:
and uploading file was not working, so I had to add this to my nginx config:
and also the "?" which should redirect to /microbin/guide, does redirect to /guide
The text was updated successfully, but these errors were encountered: