Skip to content

Commit

Permalink
Update nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
axsapronov committed Aug 13, 2017
1 parent 41cda61 commit 69fb1c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions deploy/nginx.conf
Expand Up @@ -26,8 +26,8 @@ server {
server_name pythondgest.ru;
charset utf-8;

pagespeed on;
pagespeed FileCachePath /var/ngx_pagespeed_cache;
# pagespeed on;
# pagespeed FileCachePath /var/ngx_pagespeed_cache;

ssl_certificate /etc/letsencrypt/live/pythondigest.ru/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/pythondigest.ru/privkey.pem;
Expand Down Expand Up @@ -88,12 +88,12 @@ server {
#uwsgi_cache off;
uwsgi_pass 127.0.0.1:8000;
include uwsgi_params;
pagespeed off;
# pagespeed off;
}


location /add/ {
pagespeed off;
# pagespeed off;
uwsgi_pass 127.0.0.1:8000;
include uwsgi_params;
}
Expand All @@ -105,7 +105,7 @@ server {
}

# Needs to exist and be writable by nginx. Use tmpfs for best performance.
pagespeed FileCachePath /var/ngx_pagespeed_cache;
# pagespeed FileCachePath /var/ngx_pagespeed_cache;

# Ensure requests for pagespeed optimized resources go to the pagespeed handler
# and no extraneous headers get set.
Expand Down

0 comments on commit 69fb1c6

Please sign in to comment.