• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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