Skip to content

retifrav/default-web-server-index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Default web server index

A bit better default index page for web servers. Comes with some images and basic styling.

Example

Deployment:

$ cd /var/www
$ sudo git clone https://github.com/retifrav/default-web-server-index.git some
$ sudo chown -R www-data:www-data ./some

NGINX config:

server {
    listen 80;
    server_name localhost;
    
    location / {
        root /var/www/some;
        index index.html;
    }

    error_page 404 /404.html;
    error_page 403 /403.html;
    error_page 401 /401.html;
}

About

Default index page for web servers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published