install openproject into ispconfig

Discussion in 'HOWTO-Related Questions' started by scmeis1, Mar 28, 2024.

  1. scmeis1

    scmeis1 New Member

    Hi! I have searched many places and I cannot find a way to install openproject into ipsconfig. I saw much older posts with not much help. Is there a way to get this to work inside of ispconfig?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Install Docker.
    2) Install OpenProject using Docker. Take care to use a free port for openproject.
    3) Create a website for the domain or subdomain you want to run openproject on in ISPConfig and add some proxy directives in the nginx or apache directives field of that website in ISPConfig to redirect the traffic from that site to openproject.
     
    ahrasis likes this.
  3. scmeis1

    scmeis1 New Member

     
  4. scmeis1

    scmeis1 New Member

    3) Create a website for the domain or subdomain you want to run openproject on in ISPConfig and add some proxy directives in the nginx or apache directives field of that website in ISPConfig to redirect the traffic from that site to openproject.[/QUOTE]

    Not sure what is needed here. This is not my specialty, i am a network designer. I have docker working and can login to openproject. Now its time to use ispconfig to point to this docker instance.

    Not sure what to do or how to do that. I see what the apache2.conf updates should be but not sure how to add what was needed.

    <VirtualHost *:80>
    ServerName openproject.example.com

    RewriteEngine on
    RewriteCond %{HTTPS} !=on
    RewriteRule ^/?(.*)$ https://%{SERVER_NAME}/$1 [R,L]
    </VirtualHost>
    <VirtualHost *:443>
    ServerName openproject.example.com

    SSLEngine on
    SSLCertificateFile /etc/ssl/crt/server.crt
    SSLCertificateKeyFile /etc/ssl/crt//server.key

    RewriteEngine on
    RewriteRule "^$" "/" [R,L]

    ProxyRequests off

    <Location "/">
    RequestHeader set X-Forwarded-Proto 'https'

    ProxyPreserveHost On
    ProxyPass http://127.0.0.1:8080/
    ProxyPassReverse http://127.0.0.1:8080/
    </Location>
    </VirtualHost>
     
    stelmoabel likes this.
  5. scmeis1

    scmeis1 New Member

    iI should have been more specific. I know how to create websites and all of that via the ispconfig panel. I Just do not know how to do the options which I experimented above with. Right now i am not running HTTPS on the openproject install. I can change this of course, but for now its proxying 8080:80 .
     
  6. scmeis1

    scmeis1 New Member

    Ill try one last time, i have been playing with this and I have yet to get it to redirect correctly yet.
     

Share This Page