Files
Wallos/nginx.default.conf
2025-06-08 14:45:38 +02:00

18 lines
516 B
Plaintext

server {
listen [::]:80 ipv6only=off;
server_name your_domain_or_ip; # Change to your domain or IP
root /var/www/html; # Change to your web root directory
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass unix:/var/run/php-fpm.sock; # Adjust the path if necessary
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
# Additional configuration if needed
}