• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved Allow enabling nginx cache on all existing domains on the Plesk server ?

mahmut ozdemir

Basic Pleskian
Hello

I suggest adding a feature that allows you to do the equivalent of what can be done in Plesk Obsidian 18.0.21 in Domains > example.com > Apache & Nginx settings > "Enable nginx caching" but for all the existing domains that are on the Plesk server at once.

Essentially, the feature suggestion is to "Enable nginx caching" but for all the domains on the server.

How to activate nginx FastCGI cache for all domains?

???
 
Just use command like:

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/subscription -u $i -nginx-cache-enabled true; done
 
Just use command like:

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/subscription -u $i -nginx-cache-enabled true; done



unfortunately not


[root@static ~]# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/subscription -u $i -nginx-cache-enabled true; done
SUCCESS: Update of domain 'aureole.clothiesly.com' completed.
SUCCESS: Update of domain 'baile.clothiesly.com' completed.
SUCCESS: Update of domain 'baliegh.clothiesly.com' completed.
SUCCESS: Update of domain 'barbee.clothiesly.com' completed.
SUCCESS: Update of domain 'basbadi.com' completed.
SUCCESS: Update of domain 'boles.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'carmen.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'clot.clothiesly.com' completed.
SUCCESS: Update of domain 'clothiesly.com' completed.
SUCCESS: Update of domain 'daniela.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'dedec.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'dhors.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'downey.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'dozier.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'ellston.clothiesly.com' completed.
SUCCESS: Update of domain 'elric.clothiesly.com' completed.
SUCCESS: Update of domain 'elston.clothiesly.com' completed.
SUCCESS: Update of domain 'elsvorth.clothiesly.com' completed.
SUCCESS: Update of domain 'elvin.clothiesly.com' completed.
SUCCESS: Update of domain 'elvyn.clothiesly.com' completed.
SUCCESS: Update of domain 'emmanual.clothiesly.com' completed.
SUCCESS: Update of domain 'getz.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'jacki.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'jeren.clothiesly.com' completed.
SUCCESS: Update of domain 'laveta.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'malika.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'masmar.clothiesly.com' completed.
SUCCESS: Update of domain 'mast.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'mayola.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'mchel.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'petra.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'reanna.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'rebecca.clothiesly.com' completed.
SUCCESS: Update of domain 'redfun.clothiesly.com' completed.
SUCCESS: Update of domain 'ronni.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'stern.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'stylishdekoration.com' completed.
SUCCESS: Update of domain 'waller.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'wesley.yourstylishclothing.com' completed.
SUCCESS: Update of domain 'yourstylishclothing.com' completed.
[root@static ~]#

Enable nginx caching promlem :(


777.PNG
 
Sorry, my mistake. Command should be

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/subscription --update-web-server-settings
$i -nginx-cache-enabled true; done
 
Sorry, my mistake. Command should be

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/subscription --update-web-server-settings
$i -nginx-cache-enabled true; done

Süper thansk :)
 
Back
Top