Skip to content

Commit

Permalink
additional fix php-rediscache.conf setup in 123.09beta01
Browse files Browse the repository at this point in the history
for centmin.sh menu option 22 wordpress auto install https://community.centminmod.com/posts/36192/ forgot to especape the $ when using cat
  • Loading branch information
centminmod committed Sep 13, 2016
1 parent bb57c41 commit 5b5d7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/wpsetup.inc
Expand Up @@ -526,7 +526,7 @@ WPCACHEENABLERMAP_INCLUDECHECK=$(grep '\/usr\/local\/nginx\/conf\/wpcacheenabler
# \cp -f /usr/local/nginx/conf/php.conf /usr/local/nginx/conf/php-rediscache.conf

cat > "/usr/local/nginx/conf/php-rediscache.conf"<<HFF
location ~ [^/]\.php(/|$) {
location ~ [^/]\.php(/|\$) {
include /usr/local/nginx/conf/503include-only.conf;
fastcgi_split_path_info ^(.+?\.php)(/.*)\$;
if (!-f \$document_root$fastcgi_script_name) {
Expand Down

0 comments on commit 5b5d7f2

Please sign in to comment.