mighttpd2 2.5.7 → 2.5.8
raw patch · 5 files changed
+41/−41 lines, 5 files
Files
- example.conf +16/−0
- example.route +23/−0
- mighttpd2.cabal +2/−2
- sample.conf +0/−16
- sample.route +0/−23
+ example.conf view
@@ -0,0 +1,16 @@+# Example configuration for Mighttpd 2+Port: 80+Debug_Mode: Yes # Yes or No+User: nobody+Group: nobody+Pid_File: /var/run/mighty.pid+Logging: Yes # 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+# Server_Name: Mighttpd/2.x.y+Worker_Processes: 1
+ example.route view
@@ -0,0 +1,23 @@+# Example routing for Mighttpd 2++# Domain lists+[localhost www.example.com]++# 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/++/ -> /export/www/
mighttpd2.cabal view
@@ -1,5 +1,5 @@ Name: mighttpd2-Version: 2.5.7+Version: 2.5.8 Author: Kazu Yamamoto <kazu@iij.ad.jp> Maintainer: Kazu Yamamoto <kazu@iij.ad.jp> License: BSD3@@ -13,7 +13,7 @@ Category: Network, Web Cabal-Version: >= 1.8 Build-Type: Simple-Data-Files: sample.conf sample.route+Data-Files: example.conf example.route Executable mighty Main-Is: Mighty.hs
− sample.conf
@@ -1,16 +0,0 @@-# Sample configuration for Mighttpd 2-Port: 80-Debug_Mode: Yes # Yes or No-User: nobody-Group: nobody-Pid_File: /var/run/mighty.pid-Logging: Yes # 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-# Server_Name: Mighttpd/2.x.y-Worker_Processes: 1
− sample.route
@@ -1,23 +0,0 @@-# Sample routing for Mighttpd 2--# Domain lists-[localhost www.example.com]--# 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:8080/--/ -> /export/www/