Enable gzip on production image
This commit is contained in:
parent
e2e4c66084
commit
1211eb6f7e
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue