gluon/package/gluon-status-page/luasrc/lib/gluon/status-page/www/cgi-bin/status
Matthias Schiffer 88906f238b
gluon-status-page: reimplement based on gluon-web
This new status page is significantly smaller than the old one. It always
loads its resources from the same host as the page itself, not requiring
cross-origin requests anymore.

It also uses the common i18n infrastructure of gluon-web.

Fixes #914
2018-02-26 02:20:38 +01:00

9 lines
181 B
Lua
Executable File

#!/usr/bin/lua
require 'gluon.web.cgi' {
base_path = '/lib/gluon/status-page',
layout_package = 'gluon-status-page',
layout_template = 'layout', -- only used for error pages
}