From: M. Taylor Saotome-Westlake
Date: Mon, 6 Apr 2020 01:23:26 +0000 (-0700)
Subject: Isso comment server setup!
X-Git-Url: http://unremediatedgender.space/source?a=commitdiff_plain;h=6747ac5300235ae6f4d5eeee2b6eb0a84e6a22ad;p=Ultimately_Untrue_Thought.git
Isso comment server setup!
I sure hope I don't regret this!
---
diff --git a/provisioning/isso.cfg b/provisioning/isso.cfg
new file mode 100644
index 0000000..a2e9c21
--- /dev/null
+++ b/provisioning/isso.cfg
@@ -0,0 +1,22 @@
+[general]
+; database location, check permissions, automatically created if not exists
+dbpath = /home/mtsw/isso/comments.db
+; your website or blog (not the location of Isso!)
+; you can add multiple hosts for local development
+; or SSL connections. There is no wildcard to allow
+; any domain.
+host =
+ http://unremediatedgender.space/
+ http://localhost:8000/
+
+[guard]
+reply-to-self = true
+require-author = true
+require-email = true
+
+[rss]
+base = rss
+
+[admin]
+enabled = true
+#password = [REDACTED; set this manually when redeploying]
diff --git a/provisioning/nginx_siteconf b/provisioning/nginx_siteconf
index 8db2fce..b18ce5b 100644
--- a/provisioning/nginx_siteconf
+++ b/provisioning/nginx_siteconf
@@ -40,4 +40,12 @@ server {
try_files $uri $uri/ =404;
}
+ location /isso {
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Script-Name /isso;
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-Proto $scheme;
+ proxy_pass http://localhost:8080;
+ }
+
}
diff --git a/theme/templates/article.html b/theme/templates/article.html
index d40a722..0e6687f 100644
--- a/theme/templates/article.html
+++ b/theme/templates/article.html
@@ -42,19 +42,11 @@
(Post revision history)
- {% if DISQUS_SITENAME %}
-
- {% endif %}
+
+
{% endblock %}
Comments !
- - -