• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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