Skip to content

Commit

Permalink
Make lint happy, yet again
Browse files Browse the repository at this point in the history
  • Loading branch information
solidsnake1298 committed Sep 5, 2024
1 parent 5f0a8df commit bfe02bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/general/networking/nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,20 @@ server {
proxy_set_header X-Forwarded-Host $http_host;
}
}
```

### HTTP Example

<details>
<summary>Expand HTTP Example</summary>

```config
server {
listen 80;
listen [::]:80;
server_name DOMAIN_NAME;
# The default client_max_body_size is 1M, this might not be enough for some posters, etc.
## The default `client_max_body_size` is 1M, this might not be enough for some posters, etc.
client_max_body_size 20M;
# use a variable to store the upstream proxy
Expand Down Expand Up @@ -169,8 +169,8 @@ server {
proxy_set_header X-Forwarded-Host $http_host;
}
}
```

</details>

## Nginx with Subpath (example.org/jellyfin)
Expand Down Expand Up @@ -417,7 +417,6 @@ In the "Advanced" tab, enter the following in "Custom Nginx Configuration". Thi
# External Javascript (such as cast_sender.js for Chromecast) must be whitelisted.
# NOTE: The default CSP headers may cause issues with the webOS app
#add_header Content-Security-Policy "default-src https: data: blob: http://image.tmdb.org; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' https://www.gstatic.com/cv/js/sender/v1/cast_sender.js https://www.gstatic.com/eureka/clank/95/cast_sender.js https://www.gstatic.com/eureka/clank/96/cast_sender.js https://www.gstatic.com/eureka/clank/97/cast_sender.js https://www.youtube.com blob:; worker-src 'self' blob:; connect-src 'self'; object-src 'none'; frame-ancestors 'self'";
```

In the "SSL" tab, use the jellyfin.example.org certificate that you created with Nginx Proxy Manager and enable "Force SSL", "HTTP/2 Support", "HSTS Enabled", "HSTS Subdomains".

0 comments on commit bfe02bc

Please sign in to comment.