jellyfin/jellyfin.org

Nginx example config incorrect for systemd-resolved on kubuntu

castle-giant opened this issue · 1 comments

Kubuntu (and probably Ubuntu/others) run systemd-resolved on 127.0.0.53:53, however the example nginx config at https://jellyfin.org/docs/general/networking/nginx/ has the following line:
resolver 127.0.0.1 valid=30;
Not modifying that IP address results in an HTTP 502 when attempting to access Jellyfin.

I propose adding the following comment directly above that line to clarify:

For Ubuntu and derivatives, modify the below configuration directive to read "resolver 127.0.0.53 valid=30"

Would probably make more sense to add that as a general warning if systemd-resolvd is used.