• 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.

Resolved Activate nginxServeStatic global

Koda

New Pleskian
Hi

Givs a change, to activate the Option nginxServeStatic "Statische Dateien direkt durch nginx bedienen" for all new user and existing user?
Whiteout this option the wordpress layout is destroy

Best regards

Koda
 
Hi Koda,

Whiteout this option the wordpress layout is destroy
you should be aware, that ".htaccess" - files can't be read by nginx, that's why YOU have to convert existing modifications for apache into "Additional nginx directives". A FORUM SEARCH might help you to find corresponding threads and posts here in the forum, to solve your issue(s)/error(s)/problem(s) and it might as well be a good idea to have a look at the free Plesk Extension => "htaccess to nginx", which is a converter, helping you to convert ".htaccess" - files to nginx directives. :)
 
Hi Koda,

Here is an example command, to change this setting over the command line for a specific subscription:
Code:
plesk bin subscription --update-web-server-settings example.com -nginx-serve-static true

In case, that you desire an automatic change of this setting, when you install for example an application over the application catalog, you should consider to use an "Event handler" ( => Home > Tools & Settings > Event Manager )

In another case, you might as well automatically install a wordpress - installation for a newly created domain and you might as well wish to modify the "-nginx-serve-static" in such cases. Good news for you, because there is a nice Plesk blog - article at:

=> AutoWordPress with Plesk ( link to the official Plesk Blog )

... where you could expand the provided script with your own modifications! :):D:)
 
Back
Top