The original post: /r/nginx by /u/archman42 on 2024-08-12 23:28:26.

This question has long been asked on Nginx Forum, StackOverflow, and elsewhere. There doesn’t seem to be a (satisfactory) solution suggested.

I have a server protected by basic auth. The server itself isn’t serving anything fancy; it’s a basic static HTML site (actually some documentation produced by Sphinx).

Every time I refresh or visit a different page in the site, the auth popup shows up (only on iPhone and iPad; haven’t tried on MacOS). After the first authentication, subsequent ones can be cancelled, and the document loads just fine, but it’s annoying. I even followed a solution suggesting fixing 40x due to missing favicon, but no luck.

Anyone with any ideas?