1 min readMay 17, 2020
As I understand your question, this may be solution.
server {
listen 80;
gzip on;
gzip_types text/plain application/xml application/json;
location / {
rewrite ^/(.*)$ https://<url>/ permanent;
error_log /var/log/front_end_errorsnew.log;
}
}
sorry for the late reply