• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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