GithubHelp home page GithubHelp logo

Comments (6)

asbiin avatar asbiin commented on August 19, 2024 1

@djaiss I guess you tried the docker image in http, apparently this is happening when using a reverse proxy to provide https support.

from chandler.

asbiin avatar asbiin commented on August 19, 2024

Hi @moritzsternemann
Thank you for your kind feedbacks! We're trying to do our best ;)

About the proxy configuration: you're right, setting up this will fix your issue.
In this repo, you just have to set the APP_TRUSTED_PROXIES env variable (it's used here). In a local environment, you can just set it to *:

APP_TRUSTED_PROXIES=*

@djaiss maybe we could add such a line in the .env.example file?

from chandler.

djaiss avatar djaiss commented on August 19, 2024

@moritzsternemann thanks for your feedback. We are here only to serve the community 😄

@asbiin is this a problem only when people run the instance locally, or do we have to do this change on the Docker image also? I don't think the Docker image is impacted since I've tried it and didn't have to mess with the config.

from chandler.

djaiss avatar djaiss commented on August 19, 2024

@moritzsternemann @asbiin can you check if this makes sense?

#262

I don't know nothing about reverse proxies and anything infra... so you guys have to help me 😄

from chandler.

moritzsternemann avatar moritzsternemann commented on August 19, 2024

I just realized I never replied here and said thanks 🙈

I scrolled through the PHP files in /config but mostly looked at app.php and must've missed this one. When setting the correct environment variable, everything works as expected! Thank you! ❤️

from chandler.

djaiss avatar djaiss commented on August 19, 2024

No problem @moritzsternemann Hope you like Chandler ;-)

from chandler.

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.