启用server模块,执行如下命令:
java -jar $JETTY_HOME/start.jar --add-modules=server
命令的输出,如下:
INFO : server initialized in ${jetty.base}/start.d/server.ini
INFO : Base directory was modified
查看server模块的配置文件,执行如下命令:
cat $JETTY_BASE/start.d/server.ini
命令的输出,如下:
# ---------------------------------------
# Module: server
# Enables and configures the Jetty server.
# This module does not enable any network protocol support.
# To enable a specific network protocol such as HTTP/1.1, you must enable the correspondent Jetty module.
# ---------------------------------------
--modules=server
### Common HTTP configuration
## Scheme to use to build URIs for secure redirects
# jetty.httpConfig.secureScheme=https
## Port to use to build URIs for secure redirects
# jetty.httpConfig.securePort=8443
## Response content buffer size (in bytes)
# jetty.httpConfig.outputBufferSize=32768
## Max response content write length that is buffered (in bytes)
# jetty.httpConfig.outputAggregationSize=8192
## If HTTP/1.x persistent conn

最低0.47元/天 解锁文章
8656

被折叠的 条评论
为什么被折叠?



