• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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