Where is the configuration file?

Aaah that’s why… there’s a lot of documentation around that only regards 1.x. Now I understand a lot. Thank you for this important hint and for the links.
So there is no openhab2-wide configuration file anymore? Where do I then put settings like HTTP_PORT or so? Up to now, I changed it in the envir settings of karaf but it is quite annoying having to do that every time I install a new version particularly as it would accept HTTP_PORT from some config file - but from which one?