@bencapp3/react-native-static-server
Version:
Embedded HTTP server for React Native
29 lines (25 loc) • 828 B
Plain Text
######################################################################
#
# Simple Virtual hosting
# ------------------------
#
# See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSimpleVhost
#
server.modules += ( "mod_simple_vhost" )
# If you want name-based virtual hosting add the next three settings and load
# mod_simple_vhost
#
# document-root =
# virtual-server-root + virtual-server-default-host + virtual-server-docroot
# or
# virtual-server-root + http-host + virtual-server-docroot
#
simple-vhost.server-root = vhosts_dir + "/"
simple-vhost.default-host = "default.example.com"
simple-vhost.document-root = "/htdocs/"
#
# Print some errors for finding the document-root
#
simple-vhost.debug = 1
#
######################################################################