404 floppy not found

master
ugrnm 7 years ago
parent dd0b7069e5
commit 31936abce8

9
.gitignore vendored

@ -24,5 +24,14 @@
!/usr/local/sbin/
/usr/local/sbin/*/
!/var/
/var/*
!/var/www/
/var/www/*
!/var/www/static/
/var/www/static/*
!/var/www/static/404-floppy-not-found.html
*.pyc
.DS_Store

@ -2,7 +2,6 @@ server {
listen 80 default_server;
listen [::]:80 default_server;
#root /var/www/html;
root /media/floppy/noweb;
# Add index.php to the list if you are using PHP
@ -10,9 +9,9 @@ server {
server_name _;
error_page 404 /insert.html;
error_page 404 /404-floppy-not-found.html;
location = /insert.html {
location = /404-floppy-not-found.html {
root /var/www/static;
internal;
}

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>INSERT FLOPPY!!!</title>
<meta http-equiv="refresh" content="1" >
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>404 - FLOPPY NOT FOUND</h1>
</body>
</html>
Loading…
Cancel
Save