Giter VIP home page Giter VIP logo

Comments (4)

Naereen avatar Naereen commented on July 20, 2024

Hi @JohanSF,
Thanks for trying this package.
I won't have access to a machine able to run this docker container, until a few weeks, so I'm sorry but cannot try to replicate your issue.

Are you able to give me more information?

I do not know what to tell you except that a 302 error indicates a redirection to follow.
Maybe the solution is to change the javascript code that fetches the HEADER.md and README.md files, in order to follow this redirection?

from nginx-fancyindex-theme.

JohanSF avatar JohanSF commented on July 20, 2024

This is without the theme:
image
The code is this:

location /newsmags {
	fancyindex on;              # Enable fancy indexes.
	fancyindex_localtime on;
	fancyindex_exact_size off;  # Output human-readable file sizes.
	fancyindex_header "/config/www/Nginx-Fancyindex-Theme-dark/header.html";
	fancyindex_footer "/config/www/Nginx-Fancyindex-Theme-dark/footer.html";
	#fancyindex_ignore "examplefile.html";
	fancyindex_name_length 255;
	auth_request /auth-3; #For server-auth with Organizr, remove unless you use Organizr.
	alias /config/www/newsmags;
	include /config/nginx/proxy.conf;
}

I tinkered around and found that no matter what I set the fancyindex_header to, for instance a file that does not exist, I get the 302 Found error :S but I am sure the path is correct, and it is confirmed by that fact that the alias command works. And even further proof:
image
The files from cloning the repo:
image
And I also tried with the release 1.1, neither seems to work for me. I am stumped.

from nginx-fancyindex-theme.

JohanSF avatar JohanSF commented on July 20, 2024

I see you put the bug tag on, but your theme is not the source of the error. As I get the error no matter what I set the header or footer to.

from nginx-fancyindex-theme.

Naereen avatar Naereen commented on July 20, 2024

Thanks for the feedback. I don't really know…

from nginx-fancyindex-theme.

Related Issues (19)

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.