• 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 update additional apache https settings in cli

pneun

New Pleskian
Server operating system version
Debian 9.13
Plesk version and microupdate number
Plesk Obsidian Version 18.0.44 Update #3
Hi,
i am trying to change the additional apache https settings from a domain in cli.
i can see the option in plesk bin subscription --show-web-server-settings domain

[additional apache http settings]
[additional apache https settings]

but these options are not available when i try to change it with
plesk bin subscription --update-web-server-settings domain -"additional apache https settings" newvalue

Thanks
 
Use

plesk bin service_plan

with option

-apache-additional-settings <filename>
Specifies the full path to the file
with Apache settings for HTTP.

And then sync subscriptions with a modified service plan.
 
Back
Top