Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing default reverse proxy config to work locally #1040

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/general/networking/nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ server {
# ssl_protocols TLSv1.3 TLSv1.2;

# use a variable to store the upstream proxy
# in this example we are using a hostname which is resolved via DNS
# (if you aren't using DNS remove the resolver line and change the variable to point to an IP address e.g `set $jellyfin 127.0.0.1`)
set $jellyfin jellyfin;
resolver 127.0.0.1 valid=30s;
set $jellyfin 127.0.0.1;
NeutroGe marked this conversation as resolved.
Show resolved Hide resolved
# if you are using DNS to resolve a hostname (if the jellyfin server is not hosted on the same server as the nginx reverse proxy) then comment the above line and uncomment the 2 lines below instead
#set $jellyfin jellyfin;
#resolver 127.0.0.1 valid=30;

#ssl_certificate /etc/letsencrypt/live/DOMAIN_NAME/fullchain.pem;
#ssl_certificate_key /etc/letsencrypt/live/DOMAIN_NAME/privkey.pem;
Expand Down Expand Up @@ -144,10 +144,10 @@ server {
#server_name jellyfin.local;

# use a variable to store the upstream proxy
# in this example we are using a hostname which is resolved via DNS
# (if you aren't using DNS remove the resolver line and change the variable to point to an IP address e.g `set $jellyfin 127.0.0.1`)
set $jellyfin jellyfin;
resolver 127.0.0.1 valid=30s;
set $jellyfin 127.0.0.1;
NeutroGe marked this conversation as resolved.
Show resolved Hide resolved
# if you are using DNS to resolve a hostname (if the jellyfin server is not hosted on the same server as the nginx reverse proxy) then comment the above line and uncomment the 2 lines below instead
#set $jellyfin jellyfin;
#resolver 127.0.0.1 valid=30;

# Uncomment and create directory to also host static content
#root /srv/http/media;
Expand Down