Skip to content

Instantly share code, notes, and snippets.

View alignwebs's full-sized avatar

Gulzar Ahmed alignwebs

View GitHub Profile
@alignwebs
alignwebs / nginx-wordpress-security.conf
Created May 3, 2023 21:01 — forked from nfsarmento/nginx-wordpress.conf
Harden wordpress security nginx
############ WordPress ####################
# Disable logging for favicon and robots.txt
location = /favicon.ico {
try_files /favicon.ico @empty;
access_log off;
log_not_found off;
expires max;
}