|
|
@ -469,7 +469,7 @@ def site_package_check(self, stype): |
|
|
|
|
|
|
|
# Check if Nginx is allready installed and Pagespeed config there or not |
|
|
|
# If not then copy pagespeed config |
|
|
|
if data and self.app.pargs.pagespeed: |
|
|
|
if self.app.pargs.pagespeed: |
|
|
|
if (os.path.isdir('/etc/nginx') and |
|
|
|
(not os.path.isfile('/etc/nginx/conf.d/pagespeed.conf'))): |
|
|
|
# Pagespeed configuration |
|
|
|