Mercurial Hosting > reactionary
comparison src/nginx.html.luan @ 2:a247572ccaac
add nginx
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 08 Apr 2022 14:09:57 -0600 |
parents | |
children | 9694eff797bf |
comparison
equal
deleted
inserted
replaced
1:da780d885325 | 2:a247572ccaac |
---|---|
1 local Luan = require "luan:Luan.luan" | |
2 local error = Luan.error | |
3 local Io = require "luan:Io.luan" | |
4 local Http = require "luan:http/Http.luan" | |
5 local Shared = require "site:/lib/Shared.luan" | |
6 local head = Shared.head or error() | |
7 local existing_header = Shared.existing_header or error() | |
8 | |
9 | |
10 return function() | |
11 Io.stdout = Http.response.text_writer() | |
12 %> | |
13 <!doctype html> | |
14 <html> | |
15 <head> | |
16 <% head() %> | |
17 <title>Reactionary Software - Nginx</title> | |
18 <head> | |
19 <body> | |
20 <% existing_header() %> | |
21 <div content> | |
22 <h1>Nginx</h1> | |
23 | |
24 <p>As a disclaimer, I haven't worked with <a href="https://nginx.org/en/">Nginx</a> directly. My sysadmin manages it. But I believe that it is good reactionary software. Nginx works reliably. It doesn't seem to be based on any senseless modern ideology. It's developers are from Russia, outside of the depraved West. And most tellingly, its <a href="http://hg.nginx.org/nginx/">source code</a> is on <a href="/mercurial.html">Mercurial</a>.</p> | |
25 </div> | |
26 </body> | |
27 </html> | |
28 <% | |
29 end |