annotate src/nginx.html.luan @ 46:89fdc29b296f

learn_bash work
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 05 Jan 2024 20:58:57 -0700
parents 981e744abff1
children
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>
15
9694eff797bf fix html
Franklin Schmidt <fschmidt@gmail.com>
parents: 2
diff changeset
18 </head>
2
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
36
Franklin Schmidt <fschmidt@gmail.com>
parents: 15
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. Its 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>
2
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