-
支持HTTP协议
-
支持HTTPS协议
-
支持FASTCGI协议(Client端)
-
支持WEBSOCKET协议
java -jar http-server-version-{version}.jar ./http-server.properties
java -jar https-server-version-{version}.jar ./https-server.properties
http: 编译源码并运行src/org/kaipan/www/socket/http/HttpServer.java
https: 编译源码并运行src/org/kaipan/www/socket/https/HttpsServer.java
http: 开发包下http-server.properties
https: 开发包下https-server.properties
server.root = /home/will/Develop/www //静态目录
server.bind = 0.0.0.0 //服务器监听IP
server.port = 8080 //服务器监听PORT
server.index = index.html //服务器访问默认静态文件
server.static_ext = html,htm,xhtml,shtml,shtm,jpg,jpeg,png,gif,bmp,ico,js,css,bin,xml,tar,ppt,pdf,swf,zip,gzip,woff,svg
server.dynamic_ext = php
server.post_maxsize = 4194304
server.fastcgi_root = /home/will/Develop/projects/app/www //动态脚本目录
server.fastcgi_host = 127.0.0.1 //PHP-FPM运行IP
server.fastcgi_port = 9000 //PHP-FRM运行PORT
server.fastcgi_index = index.php //服务器访问默认动态文件
server.charset = UTF-8
will<pan.kai@icloud.com>