WordPress:Installasi di VPS: Difference between revisions
No edit summary |
No edit summary |
||
| Line 28: | Line 28: | ||
try_files $uri $uri/ /index.php?$args; | try_files $uri $uri/ /index.php?$args; | ||
} | } | ||
location ~ \.php$ { | location ~ \.php$ { | ||
fastcgi_pass unix:/run/php/php7.4-fpm.sock; | |||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |||
include fastcgi_params; | |||
include snippets/fastcgi-php.conf; | |||
} | } | ||