mkaczanowski/pastebin

Proper link generation after send using domain

Closed this issue · 1 comments

Hi,

After sending bin link is generated using localhost not the reverse proxy domain configuration:

Now:

 The paste has been successfully created: http://0.0.0.0:8000/l8eTHrtokUNRYUlOn2T1i

Desired:

 The paste has been successfully created: https://pbin.example.com/l8eTHrtokUNRYUlOn2T1i

Didn't see this part settings in your docs.

Thanks, Michal

Just noticed the --uri= parameter. Sorry for spam.