-
-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to stop directory listing with this theme? #42
Comments
what are You using Docker or something else? |
I'm using the ubuntu 18.04 server of cloud at cost. so basically i have my public ip 44.x.x.x and domain name from Godaddy and i've also setup the protection via cloud flair. so now the issue is whenever i start the jekyll with bundle exec jekyll serve i have 2 option either set the host to 44.x.x.x or 0.0.0.0 right? so i just wanted to know that how did you disable the directory listing and where did you setup that theme. |
This is not an issue related to Jekyll or the theme. It's a behaviour of the web server (Apache/Nginx) that's hosting your website.
If you want to deploy this template to either Netlify or Vercel, just hit the 'Deploy' button from the installation section. |
Jekyll outputs static HTML files which do not have any logic/mechanism to prevent directory listing. You can think of them as plaintext files that do nothing. You will have to disable directory listing on your server. If you are using Apache server on your Ubuntu machine then you can disable directory listing in your For Nginx server, you will have to use |
how to hide assets directory in this theme on live server.
I've tried this URL "https://stackoverflow.com/questions/42749268/jekyll-disable-directory-listing" to stop directory-listing it's working on localhost properly but when I tried for my server it's redirecting me to server address 0.0.0.0 on which my server is running any suggestions what should I do over here?
I want to do like this one "https://klise.vercel.app/assets" to get 404 page but it's not working for me can u guide me what i have to do for this outcome.
The text was updated successfully, but these errors were encountered: