• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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