• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more 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