[Onionoo] Resource requirements for serving static data

Hello, When I check the running Onionoo server at onionoo.torproject.org I see it is using Apache. In the installation documentation running the web service starts the embedded Jetty. The first question I have is: which is responsible for the static components of the official Onionoo server? Does the running Apache serve (or cache) the static data or just forward to the embedded Jetty. Thanks --leeroy

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/06/15 13:12, l.m wrote:
When I check the running Onionoo server at onionoo.torproject.org I see it is using Apache. In the installation documentation running the web service starts the embedded Jetty. The first question I have is: which is responsible for the static components of the official Onionoo server? Does the running Apache serve (or cache) the static data or just forward to the embedded Jetty.
Here's the current Apache configuration: <VirtualHost *:443> ... <IfModule mod_disk_cache.c> CacheEnable disk / </IfModule> <IfModule mod_proxy.c> <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://127.0.0.1:8080/ retry=15 ProxyPassReverse / http://127.0.0.1:8080/ ProxyPreserveHost on </IfModule> </VirtualHost> Should we document this (better) in Onionoo? Would you want to write down things like this as you go through the installation process, and at a later time we think about making the documentation better for the next person? Thanks! All the best, Karsten -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJVeXWZAAoJEJD5dJfVqbCr/QkH/R+RSn5kGa90YoDiGTlBamDD p+KlctGew+Z9kTIHWHDg41vzmIRoR0mDaXAK4WDhNfBYGfgblXRfz6a5QZ/OWieH vL/qs1VeGLxc6Hsesp+TU3FnKec8WPW8jS1Sxo3RF1WxJfpWtj/JT2BKTt3Tq7eJ g/MjI/MFKtIgXa7E/LNUhLUXkGNt+YDH91GE1H67T1VI+mIHc3UVD2g0zxWA+Aaa +qII81M30l195z6tbJRZGMXYc91PBVhmPlgPy4IE5fgOgF/XHvn1xj+reSXjvLFH qOpTZGAun8aq3CYuS7YPDsXuj6l8PePHlESzbaN9pabFT4JcVtTpvrHpPKRqbpw= =8B7g -----END PGP SIGNATURE-----
participants (2)
-
Karsten Loesing
-
l.m