<VirtualHost *:80>
    ServerName washroomapi.swipetask.com
    ServerAlias www.washroomapi.swipetask.com
    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass / http://localhost:2999/
    ProxyPassReverse / localhost:2999/
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
    ProxyTimeout 1200
</VirtualHost>

<VirtualHost *:443>
    ServerName washroomapi.swipetask.com
    ServerAlias www.washroomapi.swipetask.com
    SSLEngine on
    SSLCertificateFile /opt/http-ssl/SSLCRT/STAR_swipetask_com.crt
    SSLCertificateKeyFile /opt/http-ssl/swipetask.key
    SSLCertificateChainFile /opt/http-ssl/SSLCRT/My_CA_Bundle.ca-bundle
    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass / http://localhost:2999/
    ProxyPassReverse / localhost:2999/
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
    ProxyTimeout 1200
</VirtualHost>

