Merge pull request #461 from devth/master

Remove erroneous backslash on jetty http/2 instructions
This commit is contained in:
yosifkit 2016-01-21 12:46:16 -08:00
commit a272056763
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ Starting with version 9.3, Jetty comes with built-in support for HTTP/2. However
```Dockerfile ```Dockerfile
FROM jetty FROM jetty
RUN java -jar \$JETTY_HOME/start.jar --add-to-startd=http2 --approve-all-licenses RUN java -jar $JETTY_HOME/start.jar --add-to-startd=http2 --approve-all-licenses
``` ```
This will add an `http2.ini` file to the `$JETTY_BASE/start.d` directory and download the required ALPN libraries into `$JETTY_BASE/lib/alpn`, allowing the use of HTTP/2. HTTP/2 connections should be made via the same port as normal HTTPS connections (container port 8443). If you would like to enable the `http2` module via `$JETTY_BASE/start.ini` instead, substitute `--add-to-start` in place of `--add-to-startd` in the `RUN` command above. This will add an `http2.ini` file to the `$JETTY_BASE/start.d` directory and download the required ALPN libraries into `$JETTY_BASE/lib/alpn`, allowing the use of HTTP/2. HTTP/2 connections should be made via the same port as normal HTTPS connections (container port 8443). If you would like to enable the `http2` module via `$JETTY_BASE/start.ini` instead, substitute `--add-to-start` in place of `--add-to-startd` in the `RUN` command above.

View File

@ -77,7 +77,7 @@ Starting with version 9.3, Jetty comes with built-in support for HTTP/2. However
```Dockerfile ```Dockerfile
FROM jetty FROM jetty
RUN java -jar \$JETTY_HOME/start.jar --add-to-startd=http2 --approve-all-licenses RUN java -jar $JETTY_HOME/start.jar --add-to-startd=http2 --approve-all-licenses
``` ```
This will add an `http2.ini` file to the `$JETTY_BASE/start.d` directory and download the required ALPN libraries into `$JETTY_BASE/lib/alpn`, allowing the use of HTTP/2. HTTP/2 connections should be made via the same port as normal HTTPS connections (container port 8443). If you would like to enable the `http2` module via `$JETTY_BASE/start.ini` instead, substitute `--add-to-start` in place of `--add-to-startd` in the `RUN` command above. This will add an `http2.ini` file to the `$JETTY_BASE/start.d` directory and download the required ALPN libraries into `$JETTY_BASE/lib/alpn`, allowing the use of HTTP/2. HTTP/2 connections should be made via the same port as normal HTTPS connections (container port 8443). If you would like to enable the `http2` module via `$JETTY_BASE/start.ini` instead, substitute `--add-to-start` in place of `--add-to-startd` in the `RUN` command above.