Skip to content

Instantly share code, notes, and snippets.

@mustmodify
Last active August 29, 2015 14:05
Show Gist options
  • Save mustmodify/72f9ce6fd6c07b659766 to your computer and use it in GitHub Desktop.
Save mustmodify/72f9ce6fd6c07b659766 to your computer and use it in GitHub Desktop.
jw@logopolis:/projects/medycation/api$ curl http://api.server.com:9292/index.json -I -H 'Accept-Encoding: gzip, deflate'
HTTP/1.1 200 OK
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-UA-Compatible: chrome=1
Content-Type: application/json; charset=utf-8
ETag: "34ac3eee261d4ffa245819f3c20387bd"
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: request_method=HEAD; path=/
X-Request-Id: 059246fd-9fa2-4ac4-bbd3-9bcd97c0756c
X-Runtime: 0.053410
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
gzip on;
gzip_types text/plain application/json;
gzip_proxied no-store no-cache private expired auth;
include /etc/nginx/site-config/*.conf;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment