Use 9xxx port for proxied services.
This commit is contained in:
parent
ba39279956
commit
e6cd92f259
4 changed files with 14 additions and 9 deletions
|
|
@ -64,9 +64,11 @@
|
||||||
<Proxy *>
|
<Proxy *>
|
||||||
Require all granted
|
Require all granted
|
||||||
</Proxy>
|
</Proxy>
|
||||||
# Dot NOT add backslashes to the end of the urls.
|
# Do NOT add backslashes to the end of the urls.
|
||||||
ProxyPass /git http://127.0.0.1:3000
|
ProxyPass /git http://127.0.0.1:9100
|
||||||
ProxyPassReverse /git http://127.0.0.1:3000
|
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>
|
<IfModule userdir_module>
|
||||||
UserDir /data/home/*/www/html
|
UserDir /data/home/*/www/html
|
||||||
|
|
@ -95,15 +97,17 @@
|
||||||
CustomLog /data/www/logs/httpd-access VHostCombined env=!no_log
|
CustomLog /data/www/logs/httpd-access VHostCombined env=!no_log
|
||||||
|
|
||||||
<Proxy *>
|
<Proxy *>
|
||||||
Require all granted
|
Require all granted
|
||||||
</Proxy>
|
</Proxy>
|
||||||
# Dot NOT add backslashes to the end of the urls.
|
# Dot NOT add backslashes to the end of the urls.
|
||||||
ProxyPass /git http://127.0.0.1:3000
|
ProxyPass /git http://127.0.0.1:9100
|
||||||
ProxyPassReverse /git http://127.0.0.1:3000
|
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>
|
<IfModule userdir_module>
|
||||||
UserDir /data/home/*/www/html
|
UserDir /data/home/*/www/html
|
||||||
UserDir Disabled root
|
UserDir Disabled root
|
||||||
</IfModule>
|
</IfModule>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
export TS_LOG_LEVEL=warn
|
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_AUTH=file
|
||||||
export TS_USER_FILE=/etc/terrastate-accounts
|
export TS_USER_FILE=/etc/terrastate-accounts
|
||||||
# export TS_AUTH_PREFIX=
|
# export TS_AUTH_PREFIX=
|
||||||
|
|
|
||||||
Binary file not shown.
1
etc/runit/runsvdir/default/terrastate
Symbolic link
1
etc/runit/runsvdir/default/terrastate
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/terrastate
|
||||||
Loading…
Add table
Add a link
Reference in a new issue