haiwen / seahub

The web end of seafile server.
seafile.com
Other
526 stars 368 forks source link

Password reset email contains URL with incorrect port #319

Closed seancolsen closed 7 years ago

seancolsen commented 9 years ago

I'm setting up Seafile and Seahub. I just configured email delivery and tested by sending myself a password reset email. The URL for the password reset contained the port 8000. However I'm running Seahub on the standard port 80 so I'd expect this link to not specify a port at all. Is there somewhere I can configure Seahub to send links without this 8000 port?

seancolsen commented 9 years ago

Think I figured this out...

Edit ccnet/ccnet.conf and change SERVICE_URL value, taking out the port

It fixed the email URL issue, and I'm hoping it doesn't break anything else in turn.

shoeper commented 9 years ago

afaik thats exactly the thing SERVICE_URL is for. see http://manual.seafile.com/deploy/deploy_with_nginx.html (search for Modify ccnet.conf)

the port is not mentioned there but I think it was some time ago in an issue. Maybe a hint should get added there.