view example.conf @ 2:3a090e9b9816 default tip

add README
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Tue, 11 Feb 2014 10:14:01 +0900
parents beab26065b3c
children
line wrap: on
line source

# Example configuration for Mighttpd 2
Port: 8080
Debug_Mode: No # Yes or No
# If available, "nobody" is much more secure for User:.
User: amothic
# If available, "nobody" is much more secure for Group:.
Group: amothic
Pid_File: /var/run/mighty/mighty.pid
Logging: No # Yes or No
Log_File: /var/log/mighty # The directory must be writable by User:
Log_File_Size: 16777216 # bytes
Log_Backup_Number: 10
Index_File: index.html
Index_Cgi: index.cgi
Status_File_Dir: /usr/local/share/mighty/status
Connection_Timeout: 30 # seconds
Fd_Cache_Duration: 10 # seconds
# Server_Name: Mighttpd/2.x.y
Tls_Port: 443
Tls_Cert_File: certificate.pem # should change this with an absolute path
# Currently, Tls_Key_file must not be encrypted.
Tls_Key_file: key.pem # should change this with an absolute path
Service: 0 # 0 is HTTP only, 1 is HTTPS only, 2 is both