Hello there
I am running owncloud on my Ubuntu server and I also want to run calibre. I only want to port-forward 443 (https) and so am trying to reverse proxy into calibre through 443. I have calibre-server running as a daemon on systemd. At the moment I can access calibre quite happily within my LAN when I use 192.168.1.37:8080; however when I go externally I can only access the calibre front page (albeit without css) and I get a 404 not found from cherrypi when I navigate around the pages.
My /etc/apache2/sites-available/000-default.conf file is:
My /lib/systemd/system/calibre.service is:
Any help would be greatly appreciated
I am running owncloud on my Ubuntu server and I also want to run calibre. I only want to port-forward 443 (https) and so am trying to reverse proxy into calibre through 443. I have calibre-server running as a daemon on systemd. At the moment I can access calibre quite happily within my LAN when I use 192.168.1.37:8080; however when I go externally I can only access the calibre front page (albeit without css) and I get a 404 not found from cherrypi when I navigate around the pages.
My /etc/apache2/sites-available/000-default.conf file is:
Quote:
<VirtualHost *:443> ServerName www.dom134.com <IfModule mod_headers.c> Header always set Strict-Transport-Security "max-age=15768000; preload" </IfModule> ServerAdmin webmaster@localhost ServerAlias dom134.com DocumentRoot /var/www/html SSLEngine On SSLCertificateFile <location> SSLCertificateKeyFile <location> SSLCACertificateFile <location> SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 ProxyPass /calibre/ http://192.168.1.37:8080/ ProxyPassReverse /calibre/ http://192.168.1.37:8080/ ProxyPreserveHost On </VirtualHost> |
Quote:
[Unit] Description=Calibre Service After=network.target [Service] Type=forking PIDFile=/var/run/calibre-server.pid ExecStart=/usr/bin/calibre-server \ --daemonize \ --max-cover=600x800 \ --max-opds-items=30 \ --max-opds-ungrouped-items=100 \ --url-prefix /calibre \ --username=dom134_reading \ --password=Password1 \ --port=8080 \ --pidfile=/var/run/calibre-server.pid \ --with-library=/Calibre/ [Install] WantedBy=multi-user.target |