security_monkey icon indicating copy to clipboard operation
security_monkey copied to clipboard

Improvement to the NGINX error message presented when API is not running.

Open markofu opened this issue 10 years ago • 2 comments

As previously chatted about ::

I believe it'd be nice to have an UI improvement for the API warning message within SecurityMonkey web application. I believe that this is unclear and typically happens when there is an issue with the SecurityMonkey scheduler due to the supervisorctl not staying up. Is it reasonable to configure the nginx 502 error message to point the admin to check the status of the scheduler and to restart (e.g. point them to here?

Something like -

#site-wide error pages
error_page 404 /404.html;
error_page 502 /502.html;

where the 404.html and 502.html files live in the domain root and encourages the admin to check if the scheduler is running.

I think these are the official nginx instructions here.

markofu avatar Aug 03 '14 14:08 markofu

@markofu - any interest in making a PR?

bonus points for having a fun picture in the 404.html.

scriptsrc avatar Jul 01 '16 17:07 scriptsrc

@monkeysecurity sure, I'll have a look :)

markofu avatar Jul 08 '16 05:07 markofu