diff --git a/luci-app-caddy/luasrc/view/caddy/caddy_status.htm b/luci-app-caddy/luasrc/view/caddy/caddy_status.htm new file mode 100644 index 0000000..4fb6f6f --- /dev/null +++ b/luci-app-caddy/luasrc/view/caddy/caddy_status.htm @@ -0,0 +1,35 @@ +<% + local uci = require 'luci.model.uci'.cursor() + ssl = uci:get_first('caddy', 'caddy', 'ssl') + if ssl == '1' then + protocol="http://" + else + protocol="http://" + end +%> + + + + +