Content
You are here:
New installation from localhost
Added by Joshua Hope over 1 year ago
Hello,
I'm attempting to install OpenProject locally in order to test it. I opted not to install Apache and I just intend to access it locally over localhost:6000.
Unfortunately, OpenProject is sending a 301 redirect from http://localhost:6000 to https://localhost:6000, which is causing the site to be completely inaccessible since there is no SSL certificate.
How can I disable this behavior and have OpenProject just load over http instead of https?
I saw a suggestion about adjusting some environment variables, I've done this but it doesn't help.
$ export OPENPROJECT_HTTPS=false
$ export OPENPROJECT_HSTS=false
$ curl -v http://localhost:6000
* Trying 127.0.0.1:6000...
* Connected to localhost (127.0.0.1) port 6000 (#0)
> GET / HTTP/1.1
> Host: localhost:6000
> User-Agent: curl/7.81.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Content-Type: text/html
< Location: https://localhost:6000/
< X-Frame-Options: SAMEORIGIN
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< X-Download-Options: noopen
< X-Permitted-Cross-Domain-Policies: none
< Referrer-Policy: origin-when-cross-origin
< Content-Security-Policy: default-src 'self'; base-uri 'self'; connect-src 'self' https://augur.openproject.com; font-src 'self' data:; form-action 'self'; frame-ancestors 'self'; frame-src 'self' https://player.vimeo.com https://releases.openproject.com/v1/check.svg; img-src * data: blob:; media-src 'self'; object-src https://releases.openproject.com/v1/check.svg; script-src 'self'; style-src 'self' 'unsafe-inline'
< Content-Length: 0
<
* Connection #0 to host localhost left intact