merge-requests/2/head
Matthew 2022-08-30 20:44:14 -04:00
parent 6c151bca8c
commit 5cf32f3bac
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 5 additions and 6 deletions

View File

@ -13,14 +13,13 @@ server {
error_log /var/log/nginx/hr_error.log;
location / {
try_files $uri $uri/ /index.php?$query_string;
try_files $uri $uri/ /index.php?$uri&$args;
}
location ~ ^/(.+\.php)$ {
try_files $uri =404;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
fastcgi_index index.php;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
include fastcgi_params;
}
}