server { listen 80; listen [::]:80; # Replace this with Faveo root directory root /path/to/root/directory; index index.php index.html index.htm; # Replace this with your Faveo URL server_name example.com www.example.com; client_max_body_size 100M; location / { try_files $uri $uri/ /index.php?$query_string; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }