diff --git a/packages/graphql-mesh-server/assets/nginx/nginx.conf b/packages/graphql-mesh-server/assets/nginx/nginx.conf index aaf09b07..aacc1feb 100644 --- a/packages/graphql-mesh-server/assets/nginx/nginx.conf +++ b/packages/graphql-mesh-server/assets/nginx/nginx.conf @@ -13,13 +13,15 @@ http { '"body_bytes_sent":"$body_bytes_sent",' '"request_time":"$request_time",' '"http_referer":"$http_referer",' - '"http_user_agent":"$http_user_agent"' + '"http_user_agent":"$http_user_agent",' + '"http_x_forwarded_for":"$http_x_forwarded_for"' '}'; gzip on; gzip_proxied any; gzip_types text/plain application/json; gzip_min_length 1000; + server_tokens off; server { listen 80;