forked from I2P_Developers/i2p.i2p
* Package up a standalone Syndie install into a "syndie-standalone.zip",
buildable with "ant syndie". It extracts into ./syndie/, launches with
"java -jar launchsyndie.jar" (or javaw, on windows, to avoid a dos box),
running a single user Syndie instance (by default). It also creates a
default subscription to syndiemedia without any anonymity (using no
proxy). Upgrades can be done by just replacing the syndie.war with the
one from I2P.
115 lines
4.6 KiB
XML
115 lines
4.6 KiB
XML
<?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">
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
<!-- Configure the Jetty Server -->
|
|
<!-- =============================================================== -->
|
|
<Configure class="org.mortbay.jetty.Server">
|
|
|
|
<!-- =============================================================== -->
|
|
<!-- Configure the Request Listeners -->
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
<!-- Add and configure a HTTP listener to port 8080 -->
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
<Call name="addListener">
|
|
<Arg>
|
|
<New class="org.mortbay.http.SocketListener">
|
|
<Arg>
|
|
<New class="org.mortbay.util.InetAddrPort">
|
|
<Set name="host">0.0.0.0</Set>
|
|
<Set name="port">8001</Set>
|
|
</New>
|
|
</Arg>
|
|
<Set name="MinThreads">3</Set>
|
|
<Set name="MaxThreads">10</Set>
|
|
<Set name="MaxIdleTimeMs">30000</Set>
|
|
<Set name="LowResourcePersistTimeMs">1000</Set>
|
|
<Set name="ConfidentialPort">8443</Set>
|
|
<Set name="IntegralPort">8443</Set>
|
|
<Set name="PoolName">main</Set>
|
|
</New>
|
|
</Arg>
|
|
</Call>
|
|
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
<!-- Add a HTTPS SSL listener on port 8443 -->
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
<!-- UNCOMMENT TO ACTIVATE
|
|
<Call name="addListener">
|
|
<Arg>
|
|
<New class="org.mortbay.http.SunJsseListener">
|
|
<Set name="Port">8443</Set>
|
|
<Set name="PoolName">main</Set>
|
|
<Set name="Keystore"><SystemProperty name="jetty.home" default="."/>/etc/demokeystore</Set>
|
|
<Set name="Password">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
|
|
<Set name="KeyPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set>
|
|
<Set name="NonPersistentUserAgent">MSIE 5</Set>
|
|
</New>
|
|
</Arg>
|
|
</Call>
|
|
-->
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
<!-- Add a AJP13 listener on port 8009 -->
|
|
<!-- This protocol can be used with mod_jk in apache, IIS etc. -->
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
<!--
|
|
<Call name="addListener">
|
|
<Arg>
|
|
<New class="org.mortbay.http.ajp.AJP13Listener">
|
|
<Set name="PoolName">ajp</Set>
|
|
<Set name="Port">8009</Set>
|
|
<Set name="MinThreads">3</Set>
|
|
<Set name="MaxThreads">20</Set>
|
|
<Set name="MaxIdleTimeMs">0</Set>
|
|
<Set name="confidentialPort">443</Set>
|
|
</New>
|
|
</Arg>
|
|
</Call>
|
|
-->
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
<!-- Configure the Contexts -->
|
|
<!-- =============================================================== -->
|
|
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
<!-- Add a all web application within the webapps directory. -->
|
|
<!-- + No virtual host specified -->
|
|
<!-- + Look in the webapps directory relative to jetty.home or . -->
|
|
<!-- + Use the default webdefault.xml in jetty's install -->
|
|
<!-- + Upack the war file -->
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
<Set name="rootWebApp">syndie</Set>
|
|
<Call name="addWebApplication">
|
|
<Arg>/</Arg>
|
|
<Arg>syndie.war</Arg>
|
|
</Call>
|
|
|
|
<!-- =============================================================== -->
|
|
<!-- Configure the Request Log -->
|
|
<!-- =============================================================== -->
|
|
<Set name="RequestLog">
|
|
<New class="org.mortbay.http.NCSARequestLog">
|
|
<Arg>./logs/yyyy_mm_dd.syndie-request.log</Arg>
|
|
<Set name="retainDays">90</Set>
|
|
<Set name="append">true</Set>
|
|
<Set name="extended">false</Set>
|
|
<Set name="buffered">false</Set>
|
|
<Set name="LogTimeZone">GMT</Set>
|
|
</New>
|
|
</Set>
|
|
|
|
<!-- =============================================================== -->
|
|
<!-- Configure the Other Server Options -->
|
|
<!-- =============================================================== -->
|
|
<Set name="requestsPerGC">2000</Set>
|
|
<Set name="statsOn">false</Set>
|
|
|
|
</Configure>
|