This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
creylopez
/
django-ex
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
2
Wiki
Activity
Browse Source
DIV-793: ensuring nginx gzip compress is enabled
pull/160/head
Benard Ebinu
7 years ago
parent
ca6866fb1f
commit
faf502584d
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
openshift/nginx-proxy/conf.d/server.conf
+ 6
- 0
openshift/nginx-proxy/conf.d/server.conf
View File
@ -10,6 +10,12 @@ server {
listen 8080;
server_name _;
gzip on;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js;
gzip_comp_level 6;
gzip_proxied any;
gzip_vary on;
# default path
location / {
proxy_pass http://edivorce-django:8080;
Write
Preview
Loading…
Cancel
Save