taigaio / taiga-docker

Mozilla Public License 2.0
1.22k stars 305 forks source link

[FR] Expand documentation for Apache RProxy #91

Open NLBlackEagle opened 2 years ago

NLBlackEagle commented 2 years ago

Please describe the problem / need you are trying to solve. After some trial and error I managed to get the taiga software working on apache and thought while it's very simple it might be nice to include documentation for those who use apache and step by step guides.

Describe the feature or the improvement you'd like and what are you trying to achieve. As for the per-resquites one needs certbot or another way to add SSL certificates to their domains and apache. Here's the guide which consists out of 5 simple steps;

  1. follow a guide on how to create virtual hosts on apache
  2. create the file taiga.example.com.conf in /etc/httpd/sites-available with the following content;

    <VirtualHost *:80>
    ServerName taiga.example.com
    
    ProxyPass / http://127.0.0.1:9000/
    ProxyPassReverse / http://127.0.0.1:9000/
    </VirtualHost>
  3. execute the command sudo ln -s /etc/httpd/sites-available/taiga.example.com.conf /etc/httpd/sites-enabled/taiga.example.com.conf
  4. type certbot in the terminal and follow the steps through to create a certificate for taiga.example.com
  5. restart httpd with service httpd restart

Feel free to close after reading given it's simple feedback and nothing more.

I haven't fully checked out the software yet but it looks functional so let me thank you for the software in advance as I've tried both kanboard which slowed down tremendously after x issues & wekan which is fast but doesn't comes with big picture and/or the ability to customize CSS (yet).

Update, seems like I skipped some steps resulting in issues with websocket so that proxypass probably isn't complete. Nevertheless while I am figuring it out I'd still think documentation on apache setup is not a bad idea.