Page tree
Skip to end of metadata
Go to start of metadata
http {
    ...
    log_format  main  '$remote_addr [$time_local] > $upstream_addr '
                      '"$request" $status bytes=$body_bytes_sent '
                      't=$request_time uct=$upstream_connect_time uht=$upstream_header_time urt=$upstream_response_time $pipe '
                      'ref="$http_referer" ua="$http_user_agent"';
    ...
}
server {
    ...
    location /suggestions/ {
        proxy_pass http://suggestions;
        access_log /var/log/nginx/suggestions.log main;
    }
    ...
}
  • No labels