File: /var/lib/letsencrypt/backups/1718719647.2045977/pausfood.conf_1
server {
listen 80;
server_name pausfood.co.id;
root /var/www/pausfood;
access_log /var/log/nginx/pausefood.log;
error_log /var/log/nginx/pausefood-error.log error;
index index.html index.htm index.php;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/pausfood.co.id/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/pausfood.co.id/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
}