Update nginx.conf

Updated to include code to prevent remote code execution on certain nginx/php-fpm configurations
pull/1798/head
okpierre 2019-10-26 01:04:28 -04:00 zatwierdzone przez GitHub
rodzic 8b57a2cfe8
commit 5ff9d92830
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -30,6 +30,7 @@ server {
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
try_files $fastcgi_script_name =404;
fastcgi_pass unix:/run/php-fpm/php-fpm.sock; # make sure this is correct
fastcgi_index index.php;
include fastcgi_params;