now with Gitweb! link it in footer; check in copy of Nginx conf
authorM. Taylor Saotome-Westlake <ultimatelyuntruethought@gmail.com>
Thu, 23 Nov 2017 00:33:10 +0000 (16:33 -0800)
committerM. Taylor Saotome-Westlake <ultimatelyuntruethought@gmail.com>
Thu, 23 Nov 2017 00:33:10 +0000 (16:33 -0800)
provisioning/nginx_siteconf [new file with mode: 0644]
theme/templates/base.html

diff --git a/provisioning/nginx_siteconf b/provisioning/nginx_siteconf
new file mode 100644 (file)
index 0000000..2f2cd07
--- /dev/null
@@ -0,0 +1,36 @@
+server {
+        listen 80 default_server;
+        listen [::]:80 default_server;
+
+        root /var/www/html;
+
+        index index.html index.htm index.nginx-debian.html;
+
+        server_name _;
+
+        location / {
+            # First attempt to serve request as file, then
+            # as directory, then fall back to displaying a 404.
+            try_files $uri $uri/ =404;
+        }
+
+        location /papers {
+            root /var/www;
+            autoindex on;
+        }
+
+        location /source {
+            root /usr/share/gitweb/;
+            include fastcgi_params;
+            gzip off;
+            fastcgi_param SCRIPT_FILENAME /usr/share/gitweb/gitweb.cgi;
+            fastcgi_param GITWEB_CONFIG /etc/gitweb.conf;
+            fastcgi_pass  unix:/var/run/fcgiwrap.socket;
+        }
+
+        location /static { # gitweb static files
+            root /usr/share/gitweb;
+            try_files $uri $uri/ =404;   
+        }
+
+}
index 20f16e3..11b61f3 100644 (file)
          ©2016–2017 {{ AUTHOR }} • <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a> This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
         </p>
         <p>
-          Proudly powered by <a href="http://docs.getpelican.com/en/3.6.3/">Pelican</a>. Theme modified from <a href="https://github.com/fle/pelican-simplegrey">pelican-simplegrey</a>.
+          Proudly powered by <a href="http://docs.getpelican.com/en/3.6.3/">Pelican</a>. Theme modified from <a href="https://github.com/fle/pelican-simplegrey">pelican-simplegrey</a>. <a href="http://unremediatedgender.space/source?p=Ultimately_Untrue_Thought.git">Site source</a>.
        </p>
 
       </footer>