Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to redirect jira nginx to static webpage

Lokesh
Contributor
December 10, 2018

Hi,

My Jira running on nginx, would need to be redirected to external static webpage (which has status of Jira as down at this moment), whenever jira goes down for planned or unplanned outages

How this can be achieved ?

  1. Mod_rewrite
  2. Mod_proxy
  3. Running a cron to look for a file in jira path & if is found, then redirect
  4. Any others ?

Any thoughts or questions, to achieve this ?

 

Thanks much in advance

1 answer

0 votes
Thomas Deiler
Community Champion
December 11, 2018

Dear @Lokesh,

have a look at the nginx documentation. All you need to do is to add the parameter

proxy_intercept_errors on

to the location / proxy_pass section and add the parameter

error_page

to the server section of your config that will point to the "status down" page.

So long

Thomas

Suggest an answer

Log in or Sign up to answer