Mercurial > hg > Members > toma > mighty
changeset 0:beab26065b3c
add mighty settings
author | Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 11 Feb 2014 09:54:03 +0900 |
parents | |
children | d31284559855 |
files | example.conf example.route index/index.html |
diffstat | 3 files changed, 47 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example.conf Tue Feb 11 09:54:03 2014 +0900 @@ -0,0 +1,23 @@ +# Example configuration for Mighttpd 2 +Port: 8080 +Debug_Mode: No # Yes or No +# If available, "nobody" is much more secure for User:. +User: root +# If available, "nobody" is much more secure for Group:. +Group: root +Pid_File: /var/run/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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example.route Tue Feb 11 09:54:03 2014 +0900 @@ -0,0 +1,23 @@ +# Example routing for Mighttpd 2 + +# Domain lists +[localhost bldsv12.cr.ie.u-ryukyu.ac.jp] + +# Entries are looked up in the specified order +# All paths must end with "/" + +# A path to CGI scripts should be specified with "=>" +# /~alice/cgi-bin/ => /home/alice/public_html/cgi-bin/ + +# A path to static files should be specified with "->" +# /~alice/ -> /home/alice/public_html/ +# /cgi-bin/ => /export/cgi-bin/ + +# Reverse proxy rules should be specified with ">>" +# /path >> host:port/path2 +# Either "host" or ":port" can be committed, but not both. +# /app/cal/ >> example.net/calendar/ +# Yesod app in the same server +# /app/wiki/ >> 127.0.0.1:3000/ + +/ -> /home/amothic/mighty/index/