Web server configuration files were not created: unknown "fastcgi_https" variable

Created:

2016-11-16 13:21:15 UTC

Modified:

2017-08-08 13:16:58 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Web server configuration files were not created: unknown "fastcgi_https" variable

Applicable to:

  • Plesk 12.0 for Linux

Symptoms

Plesk Home page shows the following error:

New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] unknown "fastcgi_https" variable nginx: configuration file /etc/nginx/nginx.conf test failed . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.

Attempt to start nginx service fails with the following error:

Error: Unable to make action: Unable to manage service by nginx_control: /usr/local/psa/admin/sbin/nginx-config execution failed:
nginx: [emerg] unknown "fastcgi_https" variable
nginx: configuration file /etc/nginx/nginx.conf test failed
('--restart', 'nginx')

Cause

Misconfiguration in nginx configuration files.

Resolution

Search for fastcgi_https parameter in nginx configuration files and remove/comment it:

# grep "fastcgi_https" /etc/nginx/nginx.conf
# grep "fastcgi_https" /etc/nginx/conf.d/*.conf
Have more questions? Submit a request
Please sign in to leave a comment.