Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ftp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lysator
Puppet
ftp
Commits
6cde1297
Commit
6cde1297
authored
4 years ago
by
Andreas Kempe
Browse files
Options
Downloads
Patches
Plain Diff
hina: add 404 page
parent
4c41d887
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
files/hina/.404.html
+12
-0
12 additions, 0 deletions
files/hina/.404.html
files/hina/.404.png
+0
-0
0 additions, 0 deletions
files/hina/.404.png
manifests/hina.pp
+16
-0
16 additions, 0 deletions
manifests/hina.pp
with
28 additions
and
0 deletions
files/hina/.404.html
0 → 100644
+
12
−
0
View file @
6cde1297
<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>
This diff is collapsed.
Click to expand it.
files/hina/.404.png
0 → 100644
+
0
−
0
View file @
6cde1297
269 KiB
This diff is collapsed.
Click to expand it.
manifests/hina.pp
+
16
−
0
View file @
6cde1297
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment