• 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 nginx Configuration for single abos

Nestoro

New Pleskian
Hello,
my server admin is struggling on setting up "client_max_body_size" to resolve a "413 http nginx" error for my gitlab server. He doesn't want to change the global value (it is apparently defined for all types of this abonnement) but instead override it in for the specific domain only.

He already tried to go to
Home > Subscriptions > YOUR-DOMAIN.COM > Apache & nginx Settings > Additional nginx directives and specify client_max_body_size parameter there.

But it didn't work with following error:

nginx: [emerg] "client_max_body_size" directive is duplicate in /var/www/vhosts/system/git.YOUR-DOMAIN.COM/conf/vhost_nginx.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed

Any other solutions? / improvements for this one?
~Nestoro
 
I already told him to fix it with removing the global one and setting it for each domain and that worked,
but thanks
 
Back
Top