• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Question Bulk Sync Server Web Settings for domains in the same Service Plan

LwStudio

New Pleskian
Server operating system version
AlmaLinux 8.6 (Sky Tiger)
Plesk version and microupdate number
Plesk Obsidian 18.0.42
Is there a way to Bulk Sync Server Web Settings for domains in the same Service Plan?
We would like to disable, in all domains in our server (200+ domains...), the Proxy Mode (Nginx to Apache), but seems not possibile to sync all the Server Web Settings in bulk using the Update and Synchronization function.
 
Bash:
# plesk bin site -l | while read i; do plesk bin domain --update-web-server-settings $i -nginx-proxy-mode false; done

If you have 200+ domains this command might take a while before it's finished.
 
Bash:
# plesk bin site -l | while read i; do plesk bin domain --update-web-server-settings $i -nginx-proxy-mode false; done

If you have 200+ domains this command might take a while before it's finished.
Many thanks Caspar, this line edit all the domains, whatever Service Plan is assigned right?
 
That's right. If you run the # plesk bin site -l command you'll see a list of domains on which the settings will be changed. Which should be all domains, no matter the service plan attached.
 
Back
Top