• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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