• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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