changeset 2:a247572ccaac

add nginx
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 08 Apr 2022 14:09:57 -0600
parents da780d885325
children a19e0f3a6203
files src/existing.html.luan src/nginx.html.luan
diffstat 2 files changed, 30 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
diff -r da780d885325 -r a247572ccaac src/existing.html.luan
--- a/src/existing.html.luan	Thu Apr 07 19:54:29 2022 -0600
+++ b/src/existing.html.luan	Fri Apr 08 14:09:57 2022 -0600
@@ -23,6 +23,7 @@
 			<ul links>
 				<li><a href="/mercurial.html">Mercurial</a></li>
 				<li><a href="http://www.luan.software/">Luan</a></li>
+				<li><a href="/nginx.html">Nginx</a></li>
 				<li><a href="/this.html">This Website</a></li>
 			</ul>
 		</div>
diff -r da780d885325 -r a247572ccaac src/nginx.html.luan
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/nginx.html.luan	Fri Apr 08 14:09:57 2022 -0600
@@ -0,0 +1,29 @@
+local Luan = require "luan:Luan.luan"
+local error = Luan.error
+local Io = require "luan:Io.luan"
+local Http = require "luan:http/Http.luan"
+local Shared = require "site:/lib/Shared.luan"
+local head = Shared.head or error()
+local existing_header = Shared.existing_header or error()
+
+
+return function()
+	Io.stdout = Http.response.text_writer()
+%>
+<!doctype html>
+<html>
+	<head>
+<%		head() %>
+		<title>Reactionary Software - Nginx</title>
+	<head>
+	<body>
+<%		existing_header() %>
+		<div content>
+			<h1>Nginx</h1>
+
+			<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>
+		</div>
+	</body>
+</html>
+<%
+end