• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved Unable to Start Nginx

PalmtreeRoundabout

New Pleskian
Server operating system version
Ubuntu 22.04 x86_64
Plesk version and microupdate number
Plesk Obsidian 18.0.69.2
Error:

Code:
Unable to generate the web server configuration file on the host <XXXXX> because of the following errors:

Template_Exception: nginx: [warn] duplicate value "TLSv1.2" in /etc/nginx/conf.d/ssl.conf:4
nginx: [warn] duplicate value "TLSv1.3" in /etc/nginx/conf.d/ssl.conf:4
nginx: [emerg] "ssl_prefer_server_ciphers" directive is duplicate in /etc/nginx/conf.d/ssl.conf:13
nginx: configuration file /etc/nginx/nginx.conf test failed

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

Please resolve the errors in web server configuration templates and generate the file again.

Performing a Grep: grep -R 'TLSv1.1' /etc/nginx/* returns two files:
/etc/nginx/conf.d/ssl.conf
/etc/nginx/nginx.conf

Commenting out the duplicate line on either clears this error but prevents things loading.
 
Back
Top