Skip to content

Commit

Permalink
Use realpath_root.
Browse files Browse the repository at this point in the history
  • Loading branch information
karljohns0n committed Jul 9, 2024
1 parent 5cf31c2 commit 747f7fe
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion SOURCES/fpm-default-users.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass unix:/run/php-fpm/$fpmuser.sock;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass php;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-drupal.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass php;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-laravel-users.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass unix:/run/php-fpm/$fpmuser.sock;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-laravel.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass php;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-opencart.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass php;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-prestashop.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass php;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-sendy-users.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass unix:/run/php-fpm/$fpmuser.sock;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-sendy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass php;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-wordpress-cache-users.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass unix:/run/php-fpm/$fpmuser.sock;
fastcgi_cache_bypass $skip_cache;
fastcgi_no_cache $skip_cache;
Expand Down
2 changes: 1 addition & 1 deletion SOURCES/fpm-wordpress-cache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass php;
fastcgi_cache_bypass $skip_cache;
fastcgi_no_cache $skip_cache;
Expand Down
2 changes: 1 addition & 1 deletion SOURCES/fpm-wordpress-mu-cache-users.conf
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass unix:/run/php-fpm/$fpmuser.sock;
fastcgi_cache_bypass $skip_cache;
fastcgi_no_cache $skip_cache;
Expand Down
2 changes: 1 addition & 1 deletion SOURCES/fpm-wordpress-mu-cache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass php;
fastcgi_cache_bypass $skip_cache;
fastcgi_no_cache $skip_cache;
Expand Down
2 changes: 1 addition & 1 deletion SOURCES/fpm-wordpress-mu-users.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass unix:/run/php-fpm/$fpmuser.sock;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-wordpress-mu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass php;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-wordpress-sub-cache-users.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass unix:/run/php-fpm/$fpmuser.sock;
fastcgi_cache_bypass $skip_cache;
fastcgi_no_cache $skip_cache;
Expand Down
2 changes: 1 addition & 1 deletion SOURCES/fpm-wordpress-sub-cache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass php;
fastcgi_cache_bypass $skip_cache;
fastcgi_no_cache $skip_cache;
Expand Down
2 changes: 1 addition & 1 deletion SOURCES/fpm-wordpress-sub-users.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass unix:/run/php-fpm/$fpmuser.sock;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-wordpress-sub.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass php;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-wordpress-users.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass unix:/run/php-fpm/$fpmuser.sock;
}
2 changes: 1 addition & 1 deletion SOURCES/fpm-wordpress.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ location ~ \.php$ {
fastcgi_read_timeout 300;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass php;
}
2 changes: 1 addition & 1 deletion SOURCES/nginx.pagespeed.conf
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ http {
fastcgi_busy_buffers_size 256k;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;

limit_req_zone $binary_remote_addr zone=wplogin:50m rate=20r/m;

Expand Down

0 comments on commit 747f7fe

Please sign in to comment.