File: /var/lib/letsencrypt/backups/1710323127.8296638/www.everycred.com.conf_4
server {
listen 80;
listen [::]:80;
root /var/www/everycred.com;
index index.php index.html index.htm index.nginx-debian.html;
server_name www.everycred.com;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
location ~ /\.ht {
deny all;
}
location ~ /\.git {
deny all;
}
location ~* \.(jpg|jpeg|png|gif|svg|ico|css|js)$ {
expires 7d;
}
location ~* \.(pdf)$ {
expires 7d;
}
}