What do you mean with “it works”? What kind of page are you seeing? The welcome to NGINX page? That would make sense, anything else won’t.
With the information you supplied:
If the above really is your config and that’s really your fqdn it should work.
If the above really is your config and that’s not your fqdn change it and it should work.
If none of the above applies please provide further information.
No, that’s not the actual FQDN. There is a domain name instead of “fqdn” there.
I’m sorry, I should have specified this. When it works, it shows the zammad first visit set-up page. This happens when I modify the listening port from anything other than 80 in the zammad.conf, and enter the that port number in the address bar after the IP/URL.
If I specify 80 as the listening port, it shows the NGINX default page whether I enter :80 in the address bar or not.
Well, I just did the “dance” all over again, from scratch by wiping the server.
Installed from source again, and this time it is working - though I do not know why. Specially since I did nothing special this time around, and it was a new VM instance last time too. As a result I am in no better position to handle this problem if it comes up again.
I have a not so good memory but IIRC it worked for me only when I did it on an Ubuntu server. I clearly remember moving from CentOS(my first choice) to Ubuntu because I was more familiar with it. Even then it took me multiple retries to get it working.
Anyhow from the first look, in your nginx.conf the webserver is listening on Port 81, while zammad.conf states Port 80. This is a sort of a conflict when webserver is asking you to look in port 81, while Zammad is available at port 80.
That should solve it. Feel free to reach out in case of any further help.
Yes im sorry i should have said something but i changed nginx to port 81 and now it works with Zammad. But i have concerns since it should work with both nginx and Zammad on port 80 according to the manual i was following.