Coder Social home page Coder Social logo

Comments (9)

dgraziotin avatar dgraziotin commented on August 19, 2024

Hidden files should not even be visible. Are you seeing them through WebDav?

I have never tried it, but I believe that nginx and autoindex (which I use) do not have this functionality.

Via some googling, it seems that nginx itself ignores files starting with a dot.

Please investigate this a little, if this is an option I am not aware about, I may write about it in the README file.

from docker-nginx-webdav-nononsense.

ChristianKnorr avatar ChristianKnorr commented on August 19, 2024

It's not visible (even if you say "Show hidden files"), but is accessible if you know the name. Tested by creating a file on the file system.

Then I pushed a ".hiddenfile" onto the webdav. That worked and she arrived but couldn't see it.

from docker-nginx-webdav-nononsense.

dgraziotin avatar dgraziotin commented on August 19, 2024

I didn’t even know it would access hidden files. As hidden are not supported upstream, I don’t think that I can do anything.

If you discover a setting meanwhile, I’ll be happy to assist. But I do not expect one to exist.

from docker-nginx-webdav-nononsense.

ChristianKnorr avatar ChristianKnorr commented on August 19, 2024

Where am I supposed to look?

from docker-nginx-webdav-nononsense.

ChristianKnorr avatar ChristianKnorr commented on August 19, 2024

Look: https://www.reddit.com/r/nginx/comments/tjydst/webdav_hidden_files_access/?rdt=60228

from docker-nginx-webdav-nononsense.

dgraziotin avatar dgraziotin commented on August 19, 2024

Where am I supposed to look?

In general, you should google for how to display or edit hidden files on nginx and autoindex. This is not an issue of WebDAV, it comes from nginx.

When I gave it a quick search earlier on, I found that it is not possible because it is not supported upstream (upstream = all the projects I am building upon).
But, in case you find some settings, feel free to report them here, and I will look at them.

My image has all the configuration files accessible in case you want to test things. nginx.conf is here and http.conf, server.conf, and location.conf are here. You can really try out everything you find.

Look: https://www.reddit.com/r/nginx/comments/tjydst/webdav_hidden_files_access/?rdt=60228

Yeah, this person has the same problem, but there is no solution posted there.

from docker-nginx-webdav-nononsense.

dgraziotin avatar dgraziotin commented on August 19, 2024

I will label this as invalid and close it, but you are welcome to reopen it in case you find anything. Good luck!

from docker-nginx-webdav-nononsense.

ChristianKnorr avatar ChristianKnorr commented on August 19, 2024

I figured out, that this is a bug in old nginx version. You use ubuntu 20.04?
Now I use this docker and it can handle hidden files: https://hub.docker.com/r/aguslr/apache-dav

from docker-nginx-webdav-nononsense.

dgraziotin avatar dgraziotin commented on August 19, 2024

That is Apache HTTP, not nginx :-) it’s another project and software. This project is about bringing WebDAV to nginx

from docker-nginx-webdav-nononsense.

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.