We are running a 4 node Jira DC, and we would like to re-direct all REST traffic to a specific server. We use Apache as a load balancer. We have tried using "RewriteEngine" but I keep getting 401, it works when we try rest calls that don't required login.
Does anyone have any real world example of how to do this?
Thanks in advance.
After a long time researching and trying, I was able to re-route the REST traffic as per our standards.
This is what we did:
This is not the best solution but it does the job.
Hope this can help other people too.
If the reason for such approach is to make sure rest traffic does not affect other users (UI) operations, I would suggest trying another approach and use rate limiting (for rest): https://confluence.atlassian.com/adminjiraserver/improving-instance-stability-with-rate-limiting-983794911.html
If the rest traffic is not read-only each operation will still affect all other nodes (and user actions on those nodes) so the separation will not be really effective.
This is a question for your load-balancer software, not really an Atlassian thing - all they have on it is https://confluence.atlassian.com/enterprise/traffic-distribution-with-atlassian-data-center-895912660.html
I've successfully followed the instructions in there, but it wasn't an F5 as you suggest you're using.