Commit 9f12a932 authored by Štěpán Henek's avatar Štěpán Henek 🐻

foris: add 'Content-Type: text/html' for foris landing page

parent 6c7e1772
......@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=foris
PKG_VERSION:=97.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gitlab.labs.nic.cz/turris/foris.git
......@@ -30,7 +30,7 @@ define Package/foris-common
DEPENDS:=\
+python-light +python-bottle +python-bottle-i18n \
+python-flup +python-ncclient +python-ubus +nuci +lighttpd +lighttpd-mod-fastcgi \
+lighttpd-mod-redirect +user_notify +foris-ws +l10n_supported \
+lighttpd-mod-redirect +lighttpd-mod-setenv +user_notify +foris-ws +l10n_supported \
+sqm-scripts +foris-client +turris-maintain
MAINTAINER:=Stepan Henek <stepan.henek@nic.cz>
endef
......
......@@ -2,6 +2,7 @@
$HTTP["url"] =~ "^/*$" {
alias.url = ( "/" => "/usr/share/foris/foris-root-cgi" )
cgi.assign = ( "" => "" )
setenv.add-response-header = ( "Content-Type" => "text/html")
}
# Make sure that wirzard passes during a migration from older image
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment