View Single Post
Old 05-28-2016, 05:58 AM   #4
dom134
Member
dom134 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: May 2016
Device: none
Thank you eschwartz,

I have amended my calibre.service file, but I think I am being an ignoramus when it comes to the virtualhost bit. I have created an additional virtualhost as follows, but still to no avail.
Quote:
<VirtualHost *:443>
ServerName www.dom134.com/calibre
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15768000; $
</IfModule>
ServerAdmin webmaster@localhost
ServerAlias dom134.com/calibre
DocumentRoot /var/www/html
SSLEngine On
SSLCertificateFile /location
SSLCertificateKeyFile /location
SSLCACertificateFile /location
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
ProxyPass / http://192.168.1.37:8080/
ProxyPassReverse / http://192.168.1.37:8080/
ProxyPreserveHost On
</VirtualHost>
Would I be better off loading proxy modules rather than using virtualhosts?
dom134 is offline   Reply With Quote