Sarasa Gunawardhana
1 min readMay 17, 2020

--

As I understand your question, this may be solution.

server {

listen 80;

server_name <url>;

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

--

--

Sarasa Gunawardhana
Sarasa Gunawardhana

Written by Sarasa Gunawardhana

Senior DevSecOps Engineer | Full Stack Developer | Tech Blogger | SLIIT

Responses (1)