Product: TIBCO Spotfire®
How to configure Team Studio to redirect port 80 to 8080?
Configure TIBCO Data Science Team Studio to redirect port 8080 to 80. This does not change the port on Team Studio, instead it uses iptables or firewalld to redirect all traffic on port 80 to port 8080.
Configure TIBCO Data Science Team Studio to redirect port 8080 to 80
1. Modify $CHORUS_HOME/releases/<your 6.0 release or higher>/vendor/nginx/nginx.conf.erb, taking care to modify the correct portion for Team Studio workflows, as there are multiple locations for "proxy_set_header Host"
Please make sure line 200 is using $host instead of:
proxy_set_header Host $host:$server_port;
2. Restart Team Studio
If Jupyter Notebooks server is running on the same machine as Team Studio server, you'll need to make this change or else the kernel won't be able to communicate with Team Studio.
Line 164: Notice this is another proxy_set_header, make the same change as step 1 above. This is for the docker container. When this is not set, the symptom is that you either need to use port 8080 for using Notebooks and if you don't, the kernel is consistently busy and you won't be able to run jobs.
Now we need to configure the firewall rules that will forward port 80 to 8080. You can do this 2 ways, using iptables or Firewalld.
Using iptables:
Using Firewalld:
systemctl start firewalld
Create Masquerade:
Create policy that will forward port 80 to 8080:
Reload Firewall Policy:
List Firewall Policy:
firewall-cmd --reload
Comments
0 comments
Article is closed for comments.