Thank you! Yes, that was the issue. The info from new(planned) README, more specifically: ``` **NOTE:** If you change this later, you will need to edit the sitedir volume's `conf/settings_local.py` to include the new hostname in `ALLOWED_HOSTS`, and change the hostname in Review Board's **Admin UI -> General Settings** page. ``` (which is what you said here) is crucial knowledge.
Thank you once more, ~PT Dne sobota 18. února 2023 v 3:10:46 UTC+1 uživatel Christian Hammond napsal: > This is likely a mismatch between your hostname and what's in > ALLOWED_HOSTS in the site directory's conf/settings_local.py file. If the > name has at all changed, you'll need to make sure it's also present there. > > I mentioned this on the other thread, but we're going to be putting up > some better configuration files and documentation soon: > > https://reviews.reviewboard.org/r/12833/ > > Christian > > > On Fri, Feb 17, 2023 at 5:37 PM Gábor Lipták <[email protected]> wrote: > >> with 5.0.2 after setting >> >> 127.0.0.1 reviews.example.com >> >> in /etc/hosts >> >> I started docker-compose with unchanged configuration and I'm seeing HTTP >> 400: >> >> curl http://reviews.example.com >> >> <!doctype html> >> <html lang="en"> >> <head> >> <title>Bad Request (400)</title> >> </head> >> <body> >> <h1>Bad Request (400)</h1><p></p> >> </body> >> </html> >> >> On Thursday, February 16, 2023 at 12:12:22 PM UTC-5 Petr Tlapa wrote: >> >>> Hi Daniel, >>> >>> I'm having the same issue, have you managed to somehow fix it? >>> >>> Thank you for you time >>> ~PT >>> PS: sorry if this is a duplicate >>> >>> Dne pátek 4. listopadu 2022 v 19:39:55 UTC+1 uživatel Daniel Hollinger >>> napsal: >>> >>>> Thanks, that part wasn't at all clear to me. I've added >>>> <target IP> reviews.example.com >>>> >>>> to my hosts file on my windows machine, and when I go to >>>> reviews.example.com (again using the default docker-compose on git for >>>> postgres) I get an nginx page saying >>>> >>>> " >>>> Welcome to nginx! >>>> >>>> If you see this page, the nginx web server is successfully installed >>>> and working. Further configuration is required. >>>> >>>> For online documentation and support please refer to nginx.org. >>>> Commercial support is available at nginx.com. >>>> >>>> *Thank you for using nginx."* >>>> >>>> So something is still wrong/missing, any thoughts? >>>> >>>> On Thu, Nov 3, 2022 at 9:40 PM Christian Hammond < >>>> [email protected]> wrote: >>>> >>>>> Hi Daniel, >>>>> >>>>> You'll access the Nginx server's IP, but you'll need to access via the >>>>> configured hostname. This may require putting a mapping in /etc/hosts or >>>>> the equivalent on Windows. For security reasons, both Nginx and Review >>>>> Board will only respond to requests made to that hostname, to avoid >>>>> various >>>>> forms of attacks. >>>>> >>>>> Christian >>>>> >>>>> On Thu, Nov 3, 2022 at 2:57 PM Daniel Hollinger < >>>>> [email protected]> wrote: >>>>> >>>>>> I've gotten "docker compose up" working using the file at >>>>>> https://github.com/reviewboard/reviewboard/blob/release-5.0/contrib/docker/examples/docker-compose.postgres.yaml >>>>>> >>>>>> and the command "sudo docker-compose -f docker-compose.postgres.yaml -p >>>>>> reviewboard_postgres up" >>>>>> >>>>>> I can see the docker instance running and when I go to <machine's IP> >>>>>> I get a message 'Welcome to nginx' >>>>>> >>>>>> Now perhaps I'm missing something and there is no reviewboard to >>>>>> review, but if there is I don't know how to point my browser to the >>>>>> correct >>>>>> location. >>>>>> >>>>>> What am I missing here? >>>>>> >>>>>> -- >>>>>> Supercharge your Review Board with Power Pack: >>>>>> https://www.reviewboard.org/powerpack/ >>>>>> Want us to host Review Board for you? Check out RBCommons: >>>>>> https://rbcommons.com/ >>>>>> Happy user? Let us know! https://www.reviewboard.org/users/ >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Review Board Community" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/reviewboard/50a9b483-4122-47ac-879e-0ff310d4971bn%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/reviewboard/50a9b483-4122-47ac-879e-0ff310d4971bn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> >>>>> >>>>> -- >>>>> Christian Hammond >>>>> President/CEO of Beanbag <https://www.beanbaginc.com/> >>>>> Makers of Review Board <https://www.reviewboard.org/> >>>>> >>>>> -- >>>>> Supercharge your Review Board with Power Pack: >>>>> https://www.reviewboard.org/powerpack/ >>>>> Want us to host Review Board for you? Check out RBCommons: >>>>> https://rbcommons.com/ >>>>> Happy user? Let us know! https://www.reviewboard.org/users/ >>>>> --- >>>>> >>>> You received this message because you are subscribed to a topic in the >>>>> Google Groups "Review Board Community" group. >>>>> To unsubscribe from this topic, visit >>>>> https://groups.google.com/d/topic/reviewboard/VGj2XDjvbDc/unsubscribe. >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/reviewboard/CAE7Vnd%3Du%3DJawowhe1KM9jOXCbBr%2BmtKbmMcD%2Bau8MsykuUoaKQ%40mail.gmail.com >>>>> >>>>> <https://groups.google.com/d/msgid/reviewboard/CAE7Vnd%3Du%3DJawowhe1KM9jOXCbBr%2BmtKbmMcD%2Bau8MsykuUoaKQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >> Supercharge your Review Board with Power Pack: >> https://www.reviewboard.org/powerpack/ >> Want us to host Review Board for you? Check out RBCommons: >> https://rbcommons.com/ >> Happy user? Let us know! https://www.reviewboard.org/users/ >> --- >> You received this message because you are subscribed to the Google Groups >> "Review Board Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/reviewboard/03e02ac6-5b77-4272-8360-7afbb356a870n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/reviewboard/03e02ac6-5b77-4272-8360-7afbb356a870n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Christian Hammond > President/CEO of Beanbag <https://www.beanbaginc.com/> > Makers of Review Board <https://www.reviewboard.org/> > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "Review Board Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/77f1f457-ad5d-4fe9-a331-7311f938b44cn%40googlegroups.com.
