Skip to content
Snippets Groups Projects
Commit 6cde1297 authored by Andreas Kempe's avatar Andreas Kempe
Browse files

hina: add 404 page

parent 4c41d887
Branches
No related tags found
No related merge requests found
<html>
<title>404 - page not found</title>
<body>
<div style="text-align:center;">
<h1>404 - page not found</h1>
<img src="/.404.png" alt="Hina Nitta sign saying Give page, please! 404" />
<hr>
<div>This server can also be reached on the Tor network at</div>
<div><a href="http://lysator7eknrfl47rlyxvgeamrv7ucefgrrlhk7rouv3sna25asetwid.onion/">lysator7eknrfl47rlyxvgeamrv7ucefgrrlhk7rouv3sna25asetwid.onion</a></div>
</div>
</body>
</html>
files/hina/.404.png

269 KiB

...@@ -125,6 +125,22 @@ class ftp::hina { ...@@ -125,6 +125,22 @@ class ftp::hina {
group => 'wheel', group => 'wheel',
mode => '0644', mode => '0644',
} }
file { '/var/ftp/.404.html':
ensure => file,
source => 'puppet:///modules/ftp/hina/.404.html',
owner => 'root',
group => 'wheel',
mode => '0644',
}
file { '/var/ftp/.404.png':
ensure => file,
source => 'puppet:///modules/ftp/hina/.404.png',
owner => 'root',
group => 'wheel',
mode => '0644',
}
} }
define ftp::hina::vsftpd($ftp_listen) { define ftp::hina::vsftpd($ftp_listen) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment