Giter Club home page Giter Club logo

Comments (5)

github-actions avatar github-actions commented on May 21, 2024

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

from docker-snapdrop.

nemchik avatar nemchik commented on May 21, 2024

Thanks for reporting this. I actually think our safest bet is to remove the mention of the real_ip configurations from the readme for this image. I do not think we should add the real_ip section back. There is no upstream (from snapdrop) documentation about this setting, so it was likely added by us at some point in the past. Recent internal discussions on the topic were cautious about including these settings by default more broadly.

I would recommend for now the best option is probably to use our CF real IP mod https://github.com/linuxserver/docker-mods/tree/swag-cloudflare-real-ip. Note that if you are using SWAG, this mod needs to be applied to SWAG as well as snapdrop (and any other nginx based container of ours that you need real IP reporting in).

from docker-snapdrop.

comfuzio avatar comfuzio commented on May 21, 2024

No i do not use swag and i am not sure how to implement this to be honest. I am very new to docker and docker compose

from docker-snapdrop.

nemchik avatar nemchik commented on May 21, 2024

It is possible to expose this application via this container directly to the internet, but we advise using a reverse proxy such as https://github.com/linuxserver/docker-swag

With or without SWAG, what you need to do with the mod is add an environment variable to your snapdrop container with the name DOCKER_MODS and the value linuxserver/mods:swag-cloudflare-real-ip and follow the usage instructions section of the readme https://github.com/linuxserver/docker-mods/tree/swag-cloudflare-real-ip#mod-usage-instructions applying the changes to your nginx.conf inside your snapdrop config folder.

from docker-snapdrop.

comfuzio avatar comfuzio commented on May 21, 2024

Bah, I removed it entirely!
Thanks for your time :)

from docker-snapdrop.

Related Issues (6)

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.