annotate src/nginx.html.luan @ 3:a19e0f3a6203

add lucene
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 08 Apr 2022 15:24:18 -0600
parents a247572ccaac
children 9694eff797bf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 local Luan = require "luan:Luan.luan"
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 local error = Luan.error
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 local Io = require "luan:Io.luan"
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 local Http = require "luan:http/Http.luan"
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 local Shared = require "site:/lib/Shared.luan"
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 local head = Shared.head or error()
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 local existing_header = Shared.existing_header or error()
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 return function()
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 Io.stdout = Http.response.text_writer()
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 %>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 <!doctype html>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 <html>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 <head>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
16 <% head() %>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
17 <title>Reactionary Software - Nginx</title>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
18 <head>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
19 <body>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
20 <% existing_header() %>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 <div content>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22 <h1>Nginx</h1>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
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>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
25 </div>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
26 </body>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
27 </html>
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
28 <%
a247572ccaac add nginx
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
29 end