r/web/dcow: Proxy to Kubernetes

I've moved the Dark Chest of Wonders website to run in a container on
Kubernetes.  This will keep it from breaking every time the OS is
updated on the web server, when the version of Python in Fedora changes.
This commit is contained in:
2023-12-17 20:16:51 -06:00
parent 3da74b8e53
commit fe258c51ac
4 changed files with 5 additions and 96 deletions

View File

@@ -23,9 +23,11 @@ SSLCertificateFile /etc/pki/tls/certs/darkchestofwonders.us.cer
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"
</IfModule>
WSGIScriptAlias / /srv/www/darkchestofwonders.us/dcow.wsgi \
process-group=dcow
Alias /screenshots /srv/www/darkchestofwonders.us/screenshots
ProxyRequests off
ProxyPass / http://k8s-ingress.pyrocufflink.blue/
ProxyPassReverse / http://k8s-ingress.pyrocufflink.blue/
ProxyPreserveHost on
<Location />
Require all granted