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