Comments (4)
what are You using Docker or something else?
from jekyll-klise.
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?
but if i set it to 0.0.0.0 and try to redirect those /assets/ path it will go to the 0.0.0.0 instead of my original domain name(it's obvious thing that i know) and if i set the host name to 44.x.x.x(my public ip) then this time it will redirect to the domain but it'll disclose my public ip for 2-3 second that i don't want to be happened.
so i just wanted to know that how did you disable the directory listing and where did you setup that theme.
from jekyll-klise.
how to hide assets directory in this theme on live server.
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.
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.
https://klise.vercel.app/
- This website is hosted on Vercel you may also use Netlify to host your static site for free and they disable directory listing by default.
If you want to deploy this template to either Netlify or Vercel, just hit the 'Deploy' button from the installation section.
from jekyll-klise.
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 .htaccess
file or your Apache config files using Options -Indexes
.
For Nginx server, you will have to use autoindex off;
in your Nginx config files.
from jekyll-klise.
Related Issues (20)
- Avoid having Google or other search engines indexing a page HOT 5
- Loads half page on Safari HOT 1
- right configurations for github pages
- unknown Liquid tag error breaks GitHub Pages HOT 2
- marginissues : content length makes wrapper move left or right HOT 6
- Changing fonts
- Sitemap.xml HOT 1
- I try to use it in gitlab webpages HOT 2
- Missing webrick gem in Ruby 3.2.0?
- Multilingual site support
- Quick question. Removing "." after titles HOT 2
- Multilingual site
- Edited navigation.html
- Scrolling to anchors do not work HOT 1
- Adding "table of contents" to posts HOT 2
- how to write -
- url bug HOT 1
- Can not run HOT 2
- how do i add a plugin? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-klise.