deletinate (cleanup)
This commit is contained in:
parent
c93c33f97f
commit
5a8f901bbe
24
SETUP.md
24
SETUP.md
|
@ -1,24 +0,0 @@
|
|||
# secure the server with https://coolaj86.com/articles/securing-your-vps-for-the-semi-paranoid.html
|
||||
|
||||
# install walnut
|
||||
sudo mkdir /srv/walnut
|
||||
sudo chown walnut:walnut -R /srv/walnut
|
||||
pushd /srv/walnut
|
||||
git init
|
||||
git remote origin add git@github.com:daplie/walnut.git
|
||||
git pull
|
||||
npm install
|
||||
|
||||
# copy uid and guid to ./walnut.js
|
||||
id
|
||||
vim walnut.js
|
||||
|
||||
# configure redirects
|
||||
rsync -av redirects.sample.json redirects.json
|
||||
|
||||
# TODO create dummy certs
|
||||
|
||||
# create and start upstart service
|
||||
sudo rsync -av upstart-walnut /etc/init/walnut.conf
|
||||
# for init.d: sudo rsync -av init.d-walnut /etc/init.d/walnut
|
||||
sudo service walnut restart
|
Binary file not shown.
Before Width: | Height: | Size: 198 B |
|
@ -1,13 +0,0 @@
|
|||
<html>
|
||||
<body>
|
||||
<pre><code>My name is Marvin, not that you would care.
|
||||
|
||||
You've reached {{host}} on port {{port}}. Meh... Congratulations, I guess."</code></pre>
|
||||
<script>
|
||||
document.body.innerHTML = document.body.innerHTML
|
||||
.replace(/{{(\s+)?host(\s+)?}}/, location.hostname)
|
||||
.replace(/{{(\s+)?port(\s+)?}}/, location.host.replace(/.*:/, ''))
|
||||
;
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue