diff --git a/installer/resources/jetty.xml b/installer/resources/jetty.xml index b55831e7440595b1e8c2479fc844232e0af33f96..a9c04d9644858d7c28618488851a8d479583034d 100644 --- a/installer/resources/jetty.xml +++ b/installer/resources/jetty.xml @@ -1,6 +1,32 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.2//EN" "http://jetty.mortbay.org/configure_1_2.dtd"> +<!-- ========================================================================= --> +<!-- This file configures the Jetty server. --> +<!-- All changes require a restart of I2P. --> +<!-- --> +<!-- Commonly changed settings: --> +<!-- * host: Change 127.0.0.1 to 0.0.0.0 in the addListener section --> +<!-- to access the server directly (bypassing i2p) --> +<!-- from other computers. The included version of Jetty has --> +<!-- been patched to allow IPv6 addresses as well, --> +<!-- enclosed in brackets e.g. [::1] --> +<!-- * port: Default 7658 in the addListener section --> +<!-- * threads: Raise MaxThreads in the addListener section --> +<!-- if you have a high-traffic site and get a lot of warnings. --> +<!-- * Uncomment the addWebApplications section to use to enable --> +<!-- war files placed in the webapps/ dir. --> +<!-- --> +<!-- I2P uses Jetty 5.1.12. We have no plans to upgrade to Jetty 6, due to --> +<!-- the significant changes in the API. If you need web server features not --> +<!-- found in Jetty 5, you may install and run Jetty 6 in a different JVM, --> +<!-- or run any other web server such as Apache. If you do run another --> +<!-- web server instead, be sure and disable the Jetty 5 server for your --> +<!-- eepsite on http://127.0.0.1/configclients.jsp . --> +<!-- --> +<!-- Jetty errors and warnings will appear in wrapper.log, check there --> +<!-- to diagnose problems. --> +<!-- ========================================================================= --> <!-- =============================================================== --> <!-- Configure the Jetty Server -->