OSC / nginx_stage

[MOVED] Stages & controls the per-user NGINX environment
https://github.com/OSC/ondemand/tree/master/nginx_stage
MIT License
0 stars 1 forks source link

Add user friendly error pages #34

Open ericfranz opened 6 years ago

ericfranz commented 6 years ago

For all nginx_stage errors, we should add user friendly error pages, possibly with a customizable erb template that can be customized by the OOD site.

An example of a user friendly error page:

https://github.com/OSC/nginx_stage/pull/22

But currently for that example styles and html are both embedded in the PUN itself.

This would include errors like when the user has a disabled shell:

Error -- user has disabled shell: bmcmichael
Run 'nginx_stage --help' to see a full list of available command line options.