Vergleich_Config/uhttpd

55 lines
1.3 KiB
Plaintext

config uhttpd 'main'
option enable_http '1'
option enable_https '1'
option home '/www'
option rfc1918_filter '1'
option max_requests '10'
option max_connections '100'
option cert '/etc/uhttpd.crt'
option key '/etc/uhttpd.key'
option cgi_prefix '/cgi-bin'
option script_timeout '600'
option network_timeout '30'
option http_keepalive '0'
option tcp_keepalive '1'
option ubus_prefix '/ubus'
option no_dirlists '1'
option index_page 'cgi-bin/index'
option listen_http '80'
option listen_https '443'
option error_page '/cgi-bin/index'
option _httpWanAccess '1'
option _httpsWanAccess '1'
option redirect_https '0'
list lua_prefix '/api=/www/cgi-bin/api_dispatcher.lua'
config uhttpd 'hotspot'
option enablehttp '1'
option home '/hotspotlogin'
option rfc1918_filter '1'
option max_requests '3'
option max_connections '100'
option cert '/etc/uhttpd.crt'
option key '/etc/uhttpd.key'
option cgi_prefix '/cgi-bin'
option script_timeout '600'
option network_timeout '30'
option http_keepalive '20'
option tcp_keepalive '1'
option no_dirlists '1'
option disabled '1'
option listen_http '81'
option listen_https '444'
config cert 'defaults'
option days '730'
option key_type 'ec'
option bits '2048'
option ec_curve 'P-256'
option country 'LT'
option state 'Vilnius'
option location 'Vilnius'
option commonname 'Teltonika'