Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. New installation from localhost

New installation from localhost

Added by Joshua Hope almost 2 years 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

Loading...