eun/HTTP Server Action

GitHub Action to start a http server that serves files

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
directoryDirectory to serveno.
portPort to serve onno8080
no-cacheWhether to set the Cache-Control header or notnofalse
index-filesIf set and directory is requested, look for those files, instead of show directory listingno[]
allowed-methodsThrow HTTP-Error 405 on other methods than the methods givenno["GET", "HEAD"]
content-typesContent Types to serveno{ "appcache": "text/cache-manifest", "css": "text/css", "gif": "image/gif", "html": "text/html", "ico": "image/x-icon", "jpeg": "image/jpeg", "jpg": "image/jpeg", "js": "text/javascript", "json": "application/json", "png": "image/png", "txt": "text/plain", "xml": "text/xml" }
logCreate a log file with given nameno""
logTimeWhether to include the time of access in the log file or notnotrue
custom404PagePath of the custom 404 page shown is the requested page is not foundno""

no outputs