Jump to content

Anyone Able To Proxy Through Apache?


davidn70

Recommended Posts

Proxy access to the REST API works well - but the admin console and (as MustangChris04 noted) Mobilinc does not work so well. This is because the ISY uses a subscription mechanism that cannot be proxied to send status back to the (admin console / mobilinc) when devices change state.

 

Personally, I have my ISY proxied for the REST API that I call from Tasker. This allows me to benefit from extremely fast SSL sessions - offloading the SSL from the ISY.

 

This is my rule (I use name-based virtual hosts and have a wildcard certificate - IPs and host names changed):

 

 

<VirtualHost *:443>
        ServerAdmin webmaster@isy.domain.com
        ServerName isy.domain.com
        ProxyRequests Off
        ProxyPreserveHost On
        ProxyHTMLEnable On
        ProxyHTMLExtended On
        KeepAlive On
        KeepAliveTimeout 5000
        ProxyVia Off
        <Proxy *>
                Order deny,allow
                Allow from all
        </Proxy>
        ProxyPass / http://192.168.1.2/
        CustomLog ${APACHE_LOG_DIR}/access.log combined
        ErrorLog ${APACHE_LOG_DIR}/error.log
        SSLEngine on
        SSLCertificateFile    /etc/ssl/certs/certificate.pem
        SSLCertificateKeyFile /etc/ssl/private/certificate.key
</VirtualHost>
Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...