doccano icon indicating copy to clipboard operation
doccano copied to clipboard

Changing http protocol to https

Open tonytan48 opened this issue 1 year ago • 1 comments

Hi authors, I have a simple question but I spent quite some time to debug for that. I am trying to set up a doccano server on my schools' machines, however, we have a default protocol of https and can't be bypassed. I tried to change the API_URL variable in env_file to be "https://backend:8000" but it didn't really work. May I know if it is possible to do that so the protocol became https?

Your Environment

  • Operating System:Ubuntu 22.04.2
  • Python Version Used:3.8
  • When you install doccano:2024/01/29
  • How did you install doccano (Heroku button etc):pip

tonytan48 avatar Jan 30 '24 17:01 tonytan48

Https is probably not relevant for local deployment. The https method should probably be handled by a reverse proxy (eg nginx), which will redirect requests to https://your.server.com/ to your doccano instance listening to 8000 port.

Aluriak avatar Mar 08 '24 12:03 Aluriak