Hello and thanks again.
I am pretty sure that it is not the URL in the config.php because I changed it several times now. If it is set to
'url' => 'https://mydomain.tld', and I clear the cache and open https://mydomain.tld, it works
if it is set to 'url' => 'https://flarum.mydomain.tld', and I clear the cache and open https://flarum.mydomain.tld, I'll get error 500, first for GET https://flarum.mydomain.tld/favicon.ico (a file I couldn't find on the server anyway)
The response header info is:
GET
scheme https
host flarum.mydomain.tld
filename /favicon.ico
Adresse 185.26.156.43:443
Status 500 Internal Server Error
Version HTTP/2
Übertragen 1,44 kB (1,26 kB Größe)
Referrer Policy strict-origin-when-cross-origin
content-length 1260
content-type text/html
date Sun, 13 Aug 2023 22:26:39 GMT
etag "6116572d-4ec"
server nginx
X-Firefox-Spdy h2
Accept image/avif,image/webp,/
Accept-Encoding gzip, deflate, br
Accept-Language de,en-US;q=0.7,en;q=0.3
Connection keep-alive
Cookie PHPSESSID= [...]; flarum_session=[...]
Host flarum.mydomain.tld
Referer https://flarum.mydomain.tld/
Sec-Fetch-Dest image
Sec-Fetch-Mode no-cors
Sec-Fetch-Site same-origin
TE trailers
User-Agent Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
?
When I try to log in appears in the response header
XHR POST https://flarum.mydomain.tld/login [HTTP/2 500 Internal Server Error 238ms]
POST https://flarum.mydomain.tld//login
Status 500 Internal Server Error
Version HTTP/2
Übertragen 1,44 kB (1,26 kB Größe)
Referrer Policy strict-origin-when-cross-origin
Anfrage-Priorität Highest
content-length 1260
content-type text/html
date Sun, 13 Aug 2023 22:40:28 GMT
etag "6116572d-4ec"
server nginx
X-Firefox-Spdy h2
Accept /
Accept-Encoding gzip, deflate, br
Accept-Language de,en-US;q=0.7,en;q=0.3
Connection keep-alive
Content-Length 83
Content-Type application/json; charset=utf-8
Cookie PHPSESSID=[...]; flarum_session=[...]
Host flarum.mydomain.tld
Origin https://flarum.mydomain.tld/
Referer https://flarum.mydomain.tld/
Sec-Fetch-Dest empty
Sec-Fetch-Mode cors
Sec-Fetch-Site same-origin
User-Agent Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
X-CSRF-Token [...]
As I can't see any hint for PHP I guess it isn't an flarum error or configuration issue, right?