Simplewebserver create ini

This commit is contained in:
René Linder 2020-11-30 09:53:14 +01:00
parent a25e1b29ce
commit 5d85e13e50

18
createini.pb Normal file
View file

@ -0,0 +1,18 @@
CreatePreferences("lhttpd.ini", #PB_Preference_NoSpace | #PB_Preference_GroupSeparator)
PreferenceGroup("lhttpd")
WritePreferenceString("HTTP_Port","8081")
WritePreferenceString("HTTP_Binding","0.0.0.0")
WritePreferenceString("HTTPS_CA","/home/renlin/dev/libressl/sample/test_ca.pem")
WritePreferenceString("HTTPS_Cert","/home/renlin/dev/libressl/sample/test_server_cert.pem")
WritePreferenceString("HTTPS_Key","/home/renlin/dev/libressl/sample/test_server_key.pem")
WritePreferenceString("HTTPS_Key_Pass","test-server-pass")
WritePreferenceString("HTTPS_Port","8444")
WritePreferenceString("HTTPS_Binding","127.0.0.1")
WritePreferenceString("HTTPS_enable","0")
WritePreferenceString("Defaultfile","/index.html")
WritePreferenceString("Basedirectory","/home/renlin/testweb/")
WritePreferenceString("Error400_Handling","integrated")
WritePreferenceString("MaxClients","100")
WritePreferenceString("Filememorycache","0")
ClosePreferences()
End