diff 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
line wrap: on
line diff
--- /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