File: /var/lib/letsencrypt/backups/1756901721.1952164/laracopilot.stgviitor.com.conf_6
server {
listen 80;
listen [::]:80;
root /var/www/laracopilot.stgviitor.com;
index index.php index.html index.htm index.nginx-debian.html;
server_name laracopilot.stgviitor.com;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
}
location ~ /\.ht {
deny all;
}
location ~ /\.git {
deny all;
}
listen 443 ssl; # managed by Certbot
listen [::]:443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/laracopilot.stgviitor.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/laracopilot.stgviitor.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}