Giter Site home page Giter Site logo

Comments (3)

Acconut avatar Acconut commented on May 13, 2024 1

This is likely not a problem with tus-js-client but instead I believe the server is not properly configured, which causes it to respond with the https://example.tld/app/upload/c9930f642a549a0dd4380129a49cada2 URL after the POST request.

What tus server are you using? Are you using a proxy in front of it? If you are using tusd, did you follow these instructions: https://github.com/tus/tusd#can-i-run-tusd-behind-a-reverse-proxy?

from tus-js-client.

mhf-ir avatar mhf-ir commented on May 13, 2024

I use nodejs version seems be there is no options behinde proxy. i set this nginx proxy configuration that other nginx serve nodejs tus server:

location /sampleproxypath {
  rewrite ^/sampleproxypath$ /sampleproxypath/ permanent;
  rewrite ^/sampleproxypath(.*) $1 break;
  proxy_ssl_verify off;
  proxy_pass https://127.0.0.1:443;
  proxy_set_header Host $host;
  proxy_set_header X-Forwarded-Proto $scheme;
  proxy_set_header X-Forwarded-Host $host;
  proxy_set_header X-Forwarded-Port $server_port;
  proxy_set_header X-Forwarded-Base-Path '/sampleproxypath';
  proxy_set_header X-Real-IP $remote_addr;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection "upgrade";
}

@Acconut

from tus-js-client.

Acconut avatar Acconut commented on May 13, 2024

Unfortunately, I do not have much experience with the tus-node-server. Would you mind opening an issue at its repository where you can most likely get better help: https://github.com/tus/tus-node-server/issues

from tus-js-client.

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.