Giter Site home page Giter Site logo

Comments (12)

galal-hussein avatar galal-hussein commented on August 17, 2024 4

@KartoffelToby I am still having the same problem, also when i try to access the service over HTTP i am being redirected to Location: https://_/

from community-catalog.

throrin19 avatar throrin19 commented on August 17, 2024

Exactly, the template has several errors :

  • the postgres database has no password and crash
  • the taiga init script is not launched and, in this case, the database is not initialized

from community-catalog.

rwojsznis avatar rwojsznis commented on August 17, 2024

Hi, I taiga-docker setup is kinda tricky, at least imho - especially if you want to have full setup with events part and for example some plugins where you have to adjust back&front - we ended up with custom docker-compose script based on few available solutions. It's not really sharable in current form and I doubt it will ever be, but I would suggest just customizing it for you needs - it takes some time to dive into taiga itself, but it's totally worth it - it's an awesome piece of software <3.

I'm aware that this comment is not very useful, but I just wanted to say that templating taiga in some cases might be not even possible /shrug

from community-catalog.

KartoffelToby avatar KartoffelToby commented on August 17, 2024

I'm trying to fix this #242 pls take a look

from community-catalog.

johackim avatar johackim commented on August 17, 2024

👍

from community-catalog.

KartoffelToby avatar KartoffelToby commented on August 17, 2024

@galal-hussein

Is it the exact same error?
over https it should work

http isn't working at all you're right, i'm sorry i'm prefere only the https way, but i will change the configuration to switch between https and http in rancher.

from community-catalog.

jslay88 avatar jslay88 commented on August 17, 2024

Getting the same https://_ redirect issue. Using an nginx proxy, Tried proxying both https and http from taiga to nginx, nginx is serving https with the valid certificate.

from community-catalog.

mikaoelitiana avatar mikaoelitiana commented on August 17, 2024

Have you found the solution for the https://_ redirection issue?

from community-catalog.

jslay88 avatar jslay88 commented on August 17, 2024

Never found a reliable solution to having taiga behind a proxy. I spent a solid day trying to get it working with all sorts of nginx params and header forwarding. Had to eventually use a different docker image and forward 80 and 443 to taiga. Even then, was still having issues with certain things (like the admin panel) not working correctly or having the CSS broken.

Eventually realized, after updating Gitlab, that it has a Kanban style board available, and it serves my purpose. I have since dropped trying to get taiga working in a production type environment.

from community-catalog.

kilmarnock avatar kilmarnock commented on August 17, 2024

I solved the https://_ redirection issue by opening the port 443 in the taiga service

from community-catalog.

PCXDME avatar PCXDME commented on August 17, 2024

Temporary fix for http

  1. Set environment variable TAIGA_SSL to False
  2. Create default.conf anywhere you want
server {
    listen 80 default_server;
    server_name _;

    large_client_header_buffers 4 32k;
    client_max_body_size 50M;
    charset utf-8;
	
    index index.html;

    # Frontend
    location / {
        root /usr/src/taiga-front-dist/dist/;
        try_files $uri $uri/ /index.html;
    }

    # Backend
    location /api {
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Scheme $scheme;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://127.0.0.1:8000/api;
        proxy_redirect off;
    }

    # Django admin access (/admin/)
    location /admin {
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Scheme $scheme;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://127.0.0.1:8000$request_uri;
        proxy_redirect off;
    }

    # Static files
    location /static {
        alias /usr/src/taiga-back/static;
    }

    # Media files
    location /media {
        alias /usr/src/taiga-back/media;
    }

    # Events
    location /events {
       proxy_pass http://events:8888/events;
       proxy_http_version 1.1;
       proxy_set_header Upgrade $http_upgrade;
       proxy_set_header Connection "upgrade";
       proxy_connect_timeout 7d;
       proxy_send_timeout 7d;
       proxy_read_timeout 7d;
    }
}
  1. Create conf.json anywhere you want
{
    "api": "http://change.this.to.your.domain.or.ip/api/v1/",
    "eventsUrl": "ws://change.this.to.your.domain.or.ip/events",
    "debug": false,
    "debugInfo": false,
    "defaultLanguage": "en",
    "publicRegisterEnabled": false,
    "feedbackEnabled": false,
    "privacyPolicyUrl": null,
    "termsOfServiceUrl": null,
    "maxUploadFileSize": null,
    "contribPlugins": ["/plugins/slack/slack.json"]
}
  1. Add 2 volumes
    path/to/your/default.conf:/etc/nginx/conf.d/default.conf
    path/to/your/conf.json:/usr/src/taiga-front-dist/dist/conf.json

Enjoy

from community-catalog.

yonas avatar yonas commented on August 17, 2024

After opening a public port to map to 443, I get this error:

screenshot from 2017-06-16 19-38-36

from community-catalog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.