documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Add complete Caddy sample configuration inspired by the NGINX one

Open ntninja opened this issue 2 years ago • 1 comments

Title says it all. Should be better than people trading incomplete snippets in Caddy forms hopefully…

ntninja avatar Oct 07 '22 23:10 ntninja

Fixed issue that direct-hitting a .php file would serve the file’s content as static content. This was especially annoying considering that NextCloud ships with an index.html file containing meta-redirect to index.php that was preferred over the index.php file when serving requests for / (so accessing https://example.invalid/ would effectively result in a plain-text view of the the index.php file while accessing, for instance, https://example.invalid/login would work without issue).

ntninja avatar Oct 26 '22 20:10 ntninja