Skip to content

Instantly share code, notes, and snippets.

@kawanet
Created February 3, 2014 14:56
Show Gist options
  • Save kawanet/8785268 to your computer and use it in GitHub Desktop.
Save kawanet/8785268 to your computer and use it in GitHub Desktop.
This one line conf file work to remove version signature at nginx response such as `Server: nginx/1.4.3`.
server_tokens off;
@kawanet
Copy link
Author

kawanet commented Feb 3, 2014

/etc/nginx/conf.d/server_tokens.conf

nginx のレスポンスに入っている「Server: nginx/1.4.3」のバージョン番号表示を削除する conf ファイル。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment