• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Resolved Override Nginx directives got Email error

Alexis-BMS

New Pleskian
Server operating system version
CentOS 7
Plesk version and microupdate number
18.0.52 Update #3
Hello,

I have to override my Nginx directives in "Apache & Nginx settings" for a subdomain. Plesk give me this error when I apply de changes :
Error: '""' is not a valid hostname for the email address

I don't understand why, do you have any idea ?

My goal is to redirect http requests from this subdomain to a docker container.
Here is the Nginx directives that I override :

I tried with and without specifying container port :80
location / {
proxy_pass http://ip_container:80;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
}

Thank you in advance for your help.
 
Back
Top