Skip to content

Instantly share code, notes, and snippets.

View andrew-sipes's full-sized avatar

Andrew Sipes andrew-sipes

  • Raptive
  • Durham, NC
View GitHub Profile
@Ellrion
Ellrion / php-restrictions.nginxconf
Last active April 3, 2025 19:15
Nginx + Php-fpm config for Laravel app
# /etc/nginx/global/php-restrictions.conf
# Don't throw any errors for missing favicons and don't display them in the logs
location = /favicon.ico {
log_not_found off;
access_log off;
}
# Don't log missing robots or show them in the nginx logs
location = /robots.txt {
allow all;