Skip to content

Commit 0564242

Browse files
committed
Update nginx config
1 parent e011790 commit 0564242

File tree

2 files changed

+10
-56
lines changed

2 files changed

+10
-56
lines changed

deploy/nginx/api.room.cafe

-56
This file was deleted.

deploy/nginx/www.room.cafe

+10
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ server {
3030
ssl_ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS;
3131
ssl_dhparam /etc/nginx/dh/dhparams.pem;
3232

33+
gzip on;
34+
gzip_disable "msie6";
35+
gzip_vary on;
36+
gzip_proxied any;
37+
gzip_comp_level 6;
38+
gzip_buffers 16 8k;
39+
gzip_http_version 1.1;
40+
gzip_min_length 0;
41+
gzip_types text/plain text/css application/x-javascript text/javascript application/javascript;
42+
3343
error_log /var/log/nginx/www.room.cafe.error.log;
3444
access_log /var/log/nginx/www.room.cafe.access.log main;
3545

0 commit comments

Comments
 (0)