diff --git a/etc/apache/sites.d/_default_.conf b/etc/apache/sites.d/_default_.conf
index 69d7ef0..39d7508 100644
--- a/etc/apache/sites.d/_default_.conf
+++ b/etc/apache/sites.d/_default_.conf
@@ -64,9 +64,11 @@
Require all granted
- # Dot NOT add backslashes to the end of the urls.
- ProxyPass /git http://127.0.0.1:3000
- ProxyPassReverse /git http://127.0.0.1:3000
+ # Do NOT add backslashes to the end of the urls.
+ ProxyPass /git http://127.0.0.1:9100
+ ProxyPassReverse /git http://127.0.0.1:9100
+ ProxyPass /terrastate http://127.0.0.1:9200
+ ProxyPassReverse /terrastate http://127.0.0.1:9200
UserDir /data/home/*/www/html
@@ -95,15 +97,17 @@
CustomLog /data/www/logs/httpd-access VHostCombined env=!no_log
- Require all granted
+ Require all granted
# Dot NOT add backslashes to the end of the urls.
- ProxyPass /git http://127.0.0.1:3000
- ProxyPassReverse /git http://127.0.0.1:3000
+ ProxyPass /git http://127.0.0.1:9100
+ ProxyPassReverse /git http://127.0.0.1:9100
+ ProxyPass /terrastate http://127.0.0.1:9200
+ ProxyPassReverse /terrastate http://127.0.0.1:9200
- UserDir /data/home/*/www/html
- UserDir Disabled root
+ UserDir /data/home/*/www/html
+ UserDir Disabled root
diff --git a/etc/default/terrastate b/etc/default/terrastate
index eb93d9b..7cfbd4b 100644
--- a/etc/default/terrastate
+++ b/etc/default/terrastate
@@ -1,5 +1,5 @@
export TS_LOG_LEVEL=warn
-export TS_BIND=0.0.0.0:8080
+export TS_BIND=127.0.0.1:9200
export TS_AUTH=file
export TS_USER_FILE=/etc/terrastate-accounts
# export TS_AUTH_PREFIX=
diff --git a/etc/gitea.conf.gpg b/etc/gitea.conf.gpg
index e6e429e..e3508b3 100644
Binary files a/etc/gitea.conf.gpg and b/etc/gitea.conf.gpg differ
diff --git a/etc/runit/runsvdir/default/terrastate b/etc/runit/runsvdir/default/terrastate
new file mode 120000
index 0000000..297a868
--- /dev/null
+++ b/etc/runit/runsvdir/default/terrastate
@@ -0,0 +1 @@
+/etc/sv/terrastate
\ No newline at end of file