powershel$ ./http_server 8080 // Or 80 if your use in production
cmd$ http_server 8080 // Or 80 if your use in production
The port can use as environ variable as PORT
, then you can close
the server using Ctrl + C
.
- .html
- .css
- .js
- .png
- .jpg
- .svg
- .ico
- .json
- .ttf
- .woff
- .woff2
- .eot
- .otf
- .txt
- .xml
- .zip
- .rar
- .7z
- .mp3
- .mp4
- .webm
- .mkv
- .avi
- .flv
- .mov
- .wmv
- .mpg
- .mpeg
- .m4v
- .m4a
- .aac
- .wav
- .ogg
- .flac
- .wma
- .swf
- .doc
- .docx
- .xls
- .xlsx
- .ppt
- .pptx
- .csv