I am trying to implement gzip compression in my Application server machine but when it is served through the proxy(different machine) to the front end the css files are getting broken due to the mixed content error.
CAUSE: mixed-content (Serving contents over http instead through https). This is because the gzip stores the compressed file path as hostname/path/to/file. Here my hostname is Application server machine which does not serve requests as https.
So, is it possible to implement gzip in a such a way that the files are send to the front end using relative path after compressing?