server {
listen 80;
server_name xpay-mariam-shop.shop www.xpay-mariam-shop.shop;
root /var/www/html/wordpress/public;
index index.php index.html index.htm;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
}
location ~ /\.ht {
deny all;
}
}