imfreedom/k8s-cluster
Add the trac configuration, it's not done, but it's getting there
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-developer.pidgin.im/trac/kustomization.yaml Tue May 04 14:38:53 2021 -0500
@@ -0,0 +1,25 @@
+ - name: trac-apache2-sites-enabled + - sites-enabled/developer.pidgin.im.conf + disableNameSuffixHash: true + disableNameSuffixHash: true + - secrets/trac.htdigest + disableNameSuffixHash: true --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-developer.pidgin.im/trac/manifest.yaml Tue May 04 14:38:53 2021 -0500
@@ -0,0 +1,139 @@
+ image: docker.io/rwgrim/trac-bootstrap:latest + imagePullPolicy: Always + image: docker.io/rwgrim/apache2-trac:latest + imagePullPolicy: Always + - mountPath: /srv/trac/conf + - mountPath: /srv/trac/log + - mountPath: /etc/apache2/sites-enabled/ + name: trac-apache2-sites-enabled + - name: trac-apache2-sites-enabled + name: trac-apache2-sites-enabled +kind: PersistentVolumeClaim +apiVersion: gemini.fairwinds.com/v1beta1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-developer.pidgin.im/trac/sites-enabled/developer.pidgin.im.conf Tue May 04 14:38:53 2021 -0500
@@ -0,0 +1,70 @@
+<Directory "/srv/trac/deploy/cgi-bin/trac.wsgi"> + WSGIApplicationGroup %{GLOBAL} +<Directory "/srv/trac/deploy/cgi-bin/viewmtn_to_hg.wsgi"> + WSGIApplicationGroup %{GLOBAL} +<Directory "/srv/trac/deploy/"> + Options -Indexes -MultiViews +<Directory "/srv/trac/files/attachments/"> + Options -Indexes -MultiViews +<Directory "/srv/htdocs_extension/"> + Options -Indexes -MultiViews + # ServerName developer.pidgin.im + # Header edit Set-Cookie "^(.*)" $1;Secure;HttpOnly + # Header set X-Frame-Options DENY + # Header always set Strict-Transport-Security "max-age=31536000" + XSendFilePath /srv/trac/files/attachments/ + #XSendFilePath /srv/downloads/ + DocumentRoot /srv/trac/deploy/htdocs + WSGIScriptAlias /viewmtn /srv/trac/deploy/cgi-bin/viewmtn_to_hg.wsgi + WSGIScriptAlias / /srv/trac/deploy/cgi-bin/trac.wsgi + Alias /chrome/ /srv/trac/deploy/htdocs/ + Alias /static/ /srv/trac/deploy/htdocs/site/ + Alias /robots.txt /srv/trac/deploy/htdocs/site/robots.txt + Alias /favicon.ico /srv/trac/deploy/htdocs/site/pidgin.ico + Alias /l10n/ /srv/trac/deploy/htdocs/l10n/ + Alias /extension/ /srv/htdocs_extension/ + #Alias /raw-attachment/ /srv/trac/files/attachments/ + Alias /shared/ /srv/htdocs/shared + # try to rate limit people on /query, /register, and /search + #<LocationMatch "^/(query|register|search)"> + # SecAction initcol:ip=${REMOTE_ADDR},pass,nolog + # SecAction "phase:5,deprecatevar:ip.heavypaths=1/1,pass,nolog" + # SecRule IP:HEAVYPATHS "@gt 20" "phase:2,pause:300,deny,status:509,setenv:RATELIMITED,skip:1,nolog" + # SecAction "phase:2,pass,setvar:ip.heavypaths=+1,nolog" + RedirectPermanent /simpleticket /newticket + RedirectPermanent /BonjourWindows "/wiki/Protocol Specific Questions#CanIuseWindowsPidginforBonjour" + RedirectMatch permanent /doxygen/2.0.0/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1 + RedirectMatch permanent /doxygen/2.2.0/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1 + RedirectMatch permanent /doxygen/2.5.0/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1 + RedirectMatch permanent /doxygen/2.5.2/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1 + RedirectMatch permanent /doxygen/2.7.11/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1 + RedirectMatch permanent /doxygen/2.10.5/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1 + RedirectMatch permanent /doxygen/2.13.0/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1 + RedirectMatch permanent /doxygen/dev2.x.y/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1