Giter Site home page Giter Site logo

Comments (3)

yamila-moreno avatar yamila-moreno commented on September 16, 2024

Hi @Apurv-P

  • do you have taiga installed from source code or docker?
  • did you change anything in the nginx or taiga settings?

from taiga-back.

Apurv-P avatar Apurv-P commented on September 16, 2024

do you have taiga installed from source code or docker?

  • Source Code

did you change anything in the nginx or taiga settings?

  • recently installed SSL certificate (let's encrypt) and made some changes in taiga.conf

Here are config file (/etc/nginx/conf.d/taiga.conf)

server {
listen 80 default_server;
server_name xyz.com;
return 301 https://$server_name$request_uri;

large_client_header_buffers 4 32k;
client_max_body_size 100M;
charset utf-8;

access_log /home/taiga/logs/nginx.access.log;
error_log /home/taiga/logs/nginx.error.log;

}

server {
listen 443 ssl;
server_name xyz.com;

# Frontend
location / {
    root /home/taiga/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:8001/api;
    proxy_redirect off;
}

# 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:8001$request_uri;
    proxy_redirect off;
}

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

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

# Events
location /events {
    proxy_pass http://127.0.0.1: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;
    }

#SSL
ssl on;
ssl_certificate /etc/letsencrypt/live/xyz.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/xyz.com/privkey.pem;

}

from taiga-back.

Apurv-P avatar Apurv-P commented on September 16, 2024

Hi,

It's Resolved,
I have just added client_max_body_size 100M; in 443 server block

server {
listen 443 ssl;
server_name xyz.com;
client_max_body_size 100M;

Thanks,
Apurv P.

from taiga-back.

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.