• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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