Keep getting "Welcome to nginx!" with nginx proxy

Hi!

nginx uses the server_name field to differentiate which server block to use.
I think you are showing us some placeholder hostnames for your privacy (which is fine), like website, and websitehere.
Check in sites-enabled/ if there are any other server blocks, like the default server block.
Because, if you do not match properly the server_name, then nginx will show you whichever is the default website (likely, /etc/nginx/sites-enabled/default).

1 Like