Enable gzip on production image

This commit is contained in:
Willian Mitsuda 2021-10-20 06:15:37 -03:00
parent e2e4c66084
commit 1211eb6f7e
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,9 @@ server {
listen 80; listen 80;
server_name localhost; server_name localhost;
gzip on;
gzip_types application/javascript text/css;
#access_log /var/log/nginx/host.access.log main; #access_log /var/log/nginx/host.access.log main;
location /static { location /static {