Reverse proxy for surveil API
This commit is contained in:
parent
7862fb5ae9
commit
ab9ddd68ee
4
Makefile
4
Makefile
@ -9,10 +9,10 @@ rebuild:
|
||||
sudo docker build --no-cache -t adg-fe .
|
||||
|
||||
interactive:
|
||||
sudo docker run -p 8080:8080 -v ${PWD}:/opt/adagios-frontend -i -t --name adg-fe adg-fe bash
|
||||
sudo docker run -p 8888:8888 --link surveil_surveil_1:surveil -v ${PWD}:/opt/adagios-frontend -i -t --name adg-fe adg-fe bash
|
||||
|
||||
daemon:
|
||||
sudo docker run -p 8080:8080 -v ${PWD}:/opt/adagios-frontend -d -t --name adg-fe adg-fe
|
||||
sudo docker run -p 8888:8888 --link surveil_surveil_1:surveil -v ${PWD}:/opt/adagios-frontend -d -t --name adg-fe adg-fe
|
||||
|
||||
kill:
|
||||
sudo docker kill adg-fe
|
||||
|
@ -1,4 +1,4 @@
|
||||
<VirtualHost *:8080>
|
||||
<VirtualHost *:8888>
|
||||
ProxyPreserveHost On
|
||||
|
||||
# Servers to proxy the connection, or;
|
||||
@ -10,7 +10,7 @@
|
||||
ProxyPass /app http://localhost:8000/app
|
||||
ProxyPassReverse /app http://localhost:8000/app
|
||||
|
||||
ProxyPass / http://demo.kaji-project.org/
|
||||
ProxyPassReverse / http://demo.kaji-project.org/
|
||||
ProxyPass / http://surveil:8080/
|
||||
ProxyPassReverse / http://surveil:8080/
|
||||
|
||||
</VirtualHost>
|
||||
|
@ -2,7 +2,7 @@
|
||||
# have to change the VirtualHost statement in
|
||||
# /etc/apache2/sites-enabled/000-default.conf
|
||||
|
||||
Listen 8080
|
||||
Listen 8888
|
||||
|
||||
<IfModule ssl_module>
|
||||
Listen 443
|
||||
|
Loading…
Reference in New Issue
Block a user