Use 9xxx port for proxied services.

This commit is contained in:
Darren 'Tadgy' Austin 2023-11-19 15:17:41 +00:00
commit e6cd92f259
4 changed files with 14 additions and 9 deletions

View file

@ -64,9 +64,11 @@
<Proxy *>
Require all granted
</Proxy>
# 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
<IfModule userdir_module>
UserDir /data/home/*/www/html
@ -98,8 +100,10 @@
Require all granted
</Proxy>
# 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
<IfModule userdir_module>
UserDir /data/home/*/www/html

View file

@ -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=

Binary file not shown.

View file

@ -0,0 +1 @@
/etc/sv/terrastate