File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -695,7 +695,8 @@ def doupdatesite(self, pargs):
695695 'wp' ]) or
696696 (stype == 'wpsubdir' and oldsitetype in ['wpsubdomain' ]) or
697697 (stype == 'wpsubdomain' and oldsitetype in ['wpsubdir' ]) or
698- (stype == oldsitetype and cache == oldcachetype )):
698+ (stype == oldsitetype and cache == oldcachetype ) and
699+ not pargs .pagespeed ):
699700 Log .info (self , Log .FAIL + "can not update {0} {1} to {2} {3}" .
700701 format (oldsitetype , oldcachetype , stype , cache ))
701702 return 1
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ server {
2727 }
2828 { {/static} }
2929
30- { {^static} }include{ {/static } } { {^hhvm} }{ {#basic} }common/php.conf;{ {/basic} }{ {#w3tc} }common/w3tc.conf;{ {/w3tc} }{ {#wpfc} }common/wpfc.conf;{ {/wpfc} } { {#wpsc} }common/wpsc.conf;{ {/wpsc} } { {/hhvm} }{ {#hhvm} }{ {#basic} }common/php-hhvm.conf;{ {/basic} }{ {#w3tc} }common/w3tc-hhvm.conf;{ {/w3tc} }{ {#wpfc} }common/wpfc-hhvm.conf;{ {/wpfc} } { {#wpsc} }common/wpsc-hhvm.conf;{ {/wpsc} } { {/hhvm} }
31- { {#wpsubdir} }include common/wpsubdir.conf;{ {/wpsubdir} }
30+ { {^static} }include { {^hhvm} }{ {#basic} }common/php.conf;{ {/basic} }{ {#w3tc} }common/w3tc.conf;{ {/w3tc} }{ {#wpfc} }common/wpfc.conf;{ {/wpfc} } { {#wpsc} }common/wpsc.conf;{ {/wpsc} } { {/hhvm} }{ {#hhvm} }{ {#basic} }common/php-hhvm.conf;{ {/basic} }{ {#w3tc} }common/w3tc-hhvm.conf;{ {/w3tc} }{ {#wpfc} }common/wpfc-hhvm.conf;{ {/wpfc} } { {#wpsc} }common/wpsc-hhvm.conf;{ {/wpsc} } { {/hhvm} }
31+ { {#wpsubdir} }include common/wpsubdir.conf;{ {/wpsubdir} }{ {/static } }
3232 { {#wp} }include common/wpcommon.conf;{ {/wp} }
3333 include common/locations.conf;
3434 { {^vma} }{ {^rc} }include { {webroot} }/conf/nginx/*.conf;{ {/rc} }{ {/vma} }
You can’t perform that action at this time.
0 commit comments