Hello community.
I have a hypervisor with multiple virtual machines. On one of the machines, configure a reverse proxy nginx server using the paths (www.example.com/atlassian_app)
This machine has two network interfaces: eth0 (ip 192.168.1.10) - Client network: eth1 (ip 10.0.0.2) - isolated virtual network.
The rest of the machines have one isolated network connection (10.0.0.0/8), and one atlassian application each.
There is access to each individual application from the client network.
I need to link applications together.
When I install confluence, the installer gives me an error. I assume that this is due to the fact that there is no access to the client network.
Is it possible to somehow set up communication between applications without giving them access to the external network?
Atlassian app config (example jira):
<Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false" scheme="http"
proxyName="192.168.1.10" proxyPort="80"/>
<Context path="/jira" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">
<Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"
factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
<Manager pathname=""/>
<JarScanner scanManifest="false"/>
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="120" />
</Context>
Nginx config:
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;
events {
worker_connections 1024;
}
http {
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
server {
listen 80;
server_name 192.168.1.10;
proxy_connect_timeout 10000;
proxy_send_timeout 10000;
proxy_read_timeout 10000;
send_timeout 10000;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / {
root /usr/share/nginx/html;
index index.php index.html index.htm;
}
location /jira {
proxy_pass http://10.0.0.3:8080/jira;
client_max_body_size 10M;
}
location /confluence {
proxy_pass http://10.0.0.5:8090/confluence;
}
location /synchrony {
proxy_pass http://10.0.0.5:8091;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
location /bitbucket {
proxy_pass http://10.0.0.6:7990;
client_max_body_size 10M;
}
location /fisheye {
proxy_pass http://10.0.0.4:8060;
client_max_body_size 10M;
}
location /pgadmin4 {
proxy_pass http://10.0.0.4/pgadmin4;
}
}
}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.