2025-01-22, 03:50 PM
All of the "add_header" blocks are optional, but recommended. Even with http.
The example you provided has the "listen" lines in a separate server block.
There are HTTP examples that are collapsed as we try to encourage HTTPS.
https://jellyfin.org/docs/general/networ...ig-example
Click that to go to the http port 80 example and expand the code block.
You should be able to just copy and paste that example and just replace the server_name with your domain name and replace "jellyfin" with your jellyfin server's actual host name or IP. Looks like "localhost" would be what you change "jellyfin" to.
The example you provided has the "listen" lines in a separate server block.
There are HTTP examples that are collapsed as we try to encourage HTTPS.
https://jellyfin.org/docs/general/networ...ig-example
Click that to go to the http port 80 example and expand the code block.
You should be able to just copy and paste that example and just replace the server_name with your domain name and replace "jellyfin" with your jellyfin server's actual host name or IP. Looks like "localhost" would be what you change "jellyfin" to.
Code:
set $jellyfin localhost;