Close popover
RamanaRao Gorle (RamanaRaoG4356)

RamanaRaoG4356 Member since 2018 2 posts
Posted: January 2, 2019
Last activity: September 18, 2019

Chatbot: Reverse proxy URL configuration

Hi All,

We are configured secure reverse proxy URL instead of Pega URL in web chatbot scripts but facing below issues

  • A loop occurs with redirects reverse proxy to Pega env which results in a crash of the Pega environment
  • With certain settings we get additional slashes from the PEGA

We tried below settings

  1. Add a request header “X-Forwarded-Host” with the value to reverse proxy URL
  2. Add a request header “X-Forwarded-Proto” with the value “https”
  3. Add a request header “PegaRULES-SetContextURI” with the value to reverse proxy URL
  4. Change the url in the settings page of the chatbot in PEGA
  5. Rewrite a response header “Location” from “Pega URL” to reverse proxy URL including whatever comes after the url.
  6. Either add or remove Port number in the rewritten url’s
  7. Change the SetBaseHTMLContext to the proxy server URI, Use either /prweb or /prweb/PRServletCustom in the rewrite url’s and the chatbot javascript files

Please let us know all configuration settings while using reverse proxy URL in chatbot scripts.

Conversational Channels
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.