git.strcat.st

/strcat/httpd.git/ - summarytreelogarchive

subject
replace tabs with spaces because forgejo is gay and uses 4 col tabs and it fucks up the formatting
commit
144f8062b22aa7a4d074d1ca4cfdae5ea139ed77
date
2026-04-17T20:10:40Z
message
diff
 README.md | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/README.md b/README.md
index d1a8c2d..5497020 100644
--- a/README.md
+++ b/README.md
@@ -4,34 +4,34 @@ khttpd - KISS http daemon
 tiny HTTP server in ANSI compliant C using POLL(2).
 
 build:
-	make
+        make
 
 make (un)install:
-	make install
-	make uninstall
+        make install
+        make uninstall
 
 usage:
 
-	khttpd args.. -r /var/www
+        khttpd args.. -r /var/www
 
 arguments:
-	-D		daemonize
-	-H		send Server header
-	-M		use text/plain for unknown types
-	-l		enable directory listings
-	--css file	listing page css	
-	-a addr		bind address 			[default: 0.0.0.0   ]
-	-b bytes	max request header bytes	[default: 4095      ]
-	-p port		bind port			[default: 8080      ]
-	-r root		web root			[default: cwd       ]
-	-c		enable chroot
-	-u user		drop privileges to user
-	-g group	drop privileges to group
-	-m max		max concurrent connections	[default: 128       ]
-	-i index	index filename			[default: index.html]
-	-t seconds	idle read timeout		[default: 10        ]
-	-T threads      number of threads/workers       [default: 1         ]
+        -D              daemonize
+        -H              send Server header
+        -M              use text/plain for unknown types
+        -l              enable directory listings
+        --css file      listing page css        
+        -a addr         bind address                    [default: 0.0.0.0   ]
+        -b bytes        max request header bytes        [default: 4095      ]
+        -p port         bind port                       [default: 8080      ]
+        -r root         web root                        [default: cwd       ]
+        -c              enable chroot
+        -u user         drop privileges to user
+        -g group        drop privileges to group
+        -m max          max concurrent connections      [default: 128       ]
+        -i index        index filename                  [default: index.html]
+        -t seconds      idle read timeout               [default: 10        ]
+        -T threads      number of threads/workers       [default: 1         ]
 
 notes:
-	no TLS, use stunnel or something.
+        no TLS, use stunnel or something.
 ```