default configuration
This commit is contained in:
26
resources/default-minimal
Executable file
26
resources/default-minimal
Executable file
@@ -0,0 +1,26 @@
|
||||
rootprompt 0
|
||||
path bios
|
||||
default bios/vesamenu.c32
|
||||
TIMEOUT 300
|
||||
|
||||
MENU TITLE PXE Bootserver
|
||||
MENU BACKGROUND splash.png
|
||||
|
||||
LABEL disk0
|
||||
localboot 0
|
||||
MENU LABEL Boot from first Harddisk
|
||||
|
||||
LABEL -
|
||||
MENU LABEL --------------------------
|
||||
|
||||
LABEL ipxe
|
||||
MENU LABEL * iPXE Shell
|
||||
KERNEL ipxe.lkrn dhcp && shell
|
||||
|
||||
LABEL demo
|
||||
MENU LABEL * iPXE Demonstration
|
||||
KERNEL ipxe.lkrn dhcp && chain http://boot.ipxe.org/demo/boot.php
|
||||
|
||||
LABEL fdos
|
||||
MENU LABEL * iPXE FreeDOS over HTTP
|
||||
KERNEL ipxe.lkrn dhcp && sanboot http://boot.ipxe.org/freedos/fdfullcd.iso
|
11
resources/exports
Normal file
11
resources/exports
Normal file
@@ -0,0 +1,11 @@
|
||||
# /etc/exports: the access control list for filesystems which may be exported
|
||||
# to NFS clients. See exports(5).
|
||||
#
|
||||
# Example for NFSv2 and NFSv3:
|
||||
# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
|
||||
#
|
||||
# Example for NFSv4:
|
||||
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
|
||||
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
|
||||
#
|
||||
/srv/tftp *(ro,nohide,no_root_squash,no_subtree_check,insecure)
|
55
resources/lighttpd.conf
Normal file
55
resources/lighttpd.conf
Normal file
@@ -0,0 +1,55 @@
|
||||
server.modules = (
|
||||
"mod_indexfile",
|
||||
"mod_access",
|
||||
"mod_alias",
|
||||
"mod_redirect",
|
||||
)
|
||||
|
||||
server.document-root = "/srv/tftp"
|
||||
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
|
||||
server.errorlog = "/var/log/lighttpd/error.log"
|
||||
server.pid-file = "/run/lighttpd.pid"
|
||||
server.username = "www-data"
|
||||
server.groupname = "www-data"
|
||||
server.port = 80
|
||||
dir-listing.activate = "enable"
|
||||
|
||||
# features
|
||||
#https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_feature-flagsDetails
|
||||
server.feature-flags += ("server.h2proto" => "enable")
|
||||
server.feature-flags += ("server.h2c" => "enable")
|
||||
server.feature-flags += ("server.graceful-shutdown-timeout" => 5)
|
||||
#server.feature-flags += ("server.graceful-restart-bg" => "enable")
|
||||
|
||||
# strict parsing and normalization of URL for consistency and security
|
||||
# https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_http-parseoptsDetails
|
||||
# (might need to explicitly set "url-path-2f-decode" = "disable"
|
||||
# if a specific application is encoding URLs inside url-path)
|
||||
server.http-parseopts = (
|
||||
"header-strict" => "enable",# default
|
||||
"host-strict" => "enable",# default
|
||||
"host-normalize" => "enable",# default
|
||||
"url-normalize-unreserved"=> "enable",# recommended highly
|
||||
"url-normalize-required" => "enable",# recommended
|
||||
"url-ctrls-reject" => "enable",# recommended
|
||||
"url-path-2f-decode" => "enable",# recommended highly (unless breaks app)
|
||||
#"url-path-2f-reject" => "enable",
|
||||
"url-path-dotseg-remove" => "enable",# recommended highly (unless breaks app)
|
||||
#"url-path-dotseg-reject" => "enable",
|
||||
#"url-query-20-plus" => "enable",# consistency in query string
|
||||
)
|
||||
|
||||
index-file.names = ( "index.php", "index.html" )
|
||||
url.access-deny = ( "~", ".inc" )
|
||||
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
|
||||
|
||||
# default listening port for IPv6 falls back to the IPv4 port
|
||||
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
|
||||
include_shell "/usr/share/lighttpd/create-mime.conf.pl"
|
||||
include "/etc/lighttpd/conf-enabled/*.conf"
|
||||
|
||||
#server.compat-module-load = "disable"
|
||||
server.modules += (
|
||||
"mod_dirlisting",
|
||||
"mod_staticfile",
|
||||
)
|
BIN
resources/splash.png
Executable file
BIN
resources/splash.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Reference in New Issue
Block a user