I have nextcloud 16 running in Fedora with apache, so httpd. It worked fine with http, users could log in and do whatever.
I followed the hardening guide for setting https with tls from here:
I added both of the virtual host configs verbatim to the file z-nextcloud-config(the exact file name might be different im not at cpu right now, it was z-nextcloud-something).
Now I can log into the server but any username or password I enter does not work, like the log in credentials arent being referenced anymore.
My only thought is that maybe the vitualhost lines need to be added before the directory lines? Or perhaps I edited the wrong file.
It seems to be a simple goof up to fix if anyone has a suggestion as to what I did wrong