• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Plesk 11.5 CLI : Nginx Static Content Processing

paulieG

Regular Pleskian
Hi,

According to the help on /usr/local/psa/bin one of these commands should actually work :

CT-3001-bash-4.1# /usr/local/psa/bin/domain -u pagwag.co.uk -nginx-serve-static true -nginx-static-extensions ''
SUCCESS: Update of domain 'pagwag.co.uk' completed.
CT-3001-bash-4.1# /usr/local/psa/bin/domain -u pagwag.co.uk -nginx-serve-static true -nginx-static-extensions 'zip'
SUCCESS: Update of domain 'pagwag.co.uk' completed.
CT-3001-bash-4.1# /usr/local/psa/bin/domain -u pagwag.co.uk -nginx-serve-static false -nginx-static-extensions 'zip'
SUCCESS: Update of domain 'pagwag.co.uk' completed.
CT-3001-bash-4.1# /usr/local/psa/bin/domain -u pagwag.co.uk -nginx-serve-static false
SUCCESS: Update of domain 'pagwag.co.uk' completed.

However none do... static files processing remains off in the GUI and in the configuration file.

Anyone else experienced this?

Paul.
 
Back
Top