• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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