Comments on: The Ultimate Guide to Secure, Harden and Improve Performance of Nginx Web Server https://www.tecmint.com/nginx-web-server-security-hardening-and-performance-tips/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Mon, 07 Sep 2020 05:30:57 +0000 hourly 1 By: Ravi Saive https://www.tecmint.com/nginx-web-server-security-hardening-and-performance-tips/comment-page-1/#comment-1361225 Mon, 07 Sep 2020 05:30:57 +0000 http://www.tecmint.com/?p=17853#comment-1361225 In reply to Hung.

@Hung,

Thanks, corrected in the article…

]]>
By: Hung https://www.tecmint.com/nginx-web-server-security-hardening-and-performance-tips/comment-page-1/#comment-1361221 Mon, 07 Sep 2020 05:01:34 +0000 http://www.tecmint.com/?p=17853#comment-1361221 Please update this:

Server_tokens        off;  --> server_tokens        off;

The [S]erver must be lower case [s]erver.

]]>
By: EDUARDO PADRON NAVARRO https://www.tecmint.com/nginx-web-server-security-hardening-and-performance-tips/comment-page-1/#comment-1335738 Sun, 31 May 2020 02:13:54 +0000 http://www.tecmint.com/?p=17853#comment-1335738 Hi,

Thanks for your post, highly appreciated. Have an issue when running nginx -t to validate the configuration and send me the next error message:

nginx: [emerg] "map" directive is not allowed here in /etc/nginx/blockuseragents.rules:1
nginx: configuration file /etc/nginx/nginx.conf test failed

Any recommendations to jump this hurdle?

Best Regards

]]>
By: zhoulujun https://www.tecmint.com/nginx-web-server-security-hardening-and-performance-tips/comment-page-1/#comment-1093629 Thu, 10 Jan 2019 08:27:50 +0000 http://www.tecmint.com/?p=17853#comment-1093629 if ($request_method !~ ^(GET|HEAD|POST)$) { return 444; }

is it Nginx default config, right?

If not, where it’s place to add?

]]>
By: woody https://www.tecmint.com/nginx-web-server-security-hardening-and-performance-tips/comment-page-1/#comment-800605 Tue, 19 Jul 2016 15:34:27 +0000 http://www.tecmint.com/?p=17853#comment-800605 anyone know how to create rewrite rules below from apache to nginx?

RewriteEngine On
RewriteRule ^([^\.]+)/([^\.]+)/?$ index.php?route=$1&sub=$2 [QSA,NC,L]
RewriteRule ^([^\.]+)/?$ index.php?route=$1 [QSA,NC,L]

]]>