Skip to content

Instantly share code, notes, and snippets.

View Suhail's full-sized avatar

Suhail Suhail

View GitHub Profile
@Suhail
Suhail / gist:204372
Created October 7, 2009 19:48 — forked from damm/gist:204370
Restarting nginx: 2009/10/07 19:42:52 [emerg] 11068#0: "proxy_pass" may not have URI part in location given by regular expression, or inside named location, or inside the "if" statement, or inside the "limit_except" block in /etc/nginx/sites-enabled/api.domain.com:47
nginx.
location / {
gzip on;
gzip_http_version 1.0;
gzip_vary on;
gzip_comp_level 6;
gzip_proxied any;
gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;