Skip to content

Commit f3d8f0d

Browse files
authored
docs: add haproxy configuration example (#2048)
1 parent a988f8e commit f3d8f0d

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

docs/extending-jellyseerr/reverse-proxy.mdx

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ Add the following Location block to your existing Server configuration.
249249
# Please Replace "FQDN" with your domain
250250
Header edit location ^/login https://FQDN/jellyseerr/login
251251
Header edit location ^/setup https://FQDN/jellyseerr/setup
252-
252+
253253
AddOutputFilterByType INFLATE;SUBSTITUTE text/html application/javascript application/json
254254
SubstituteMaxLineLength 2000K
255255
# This is HTML and JS update
@@ -266,3 +266,34 @@ Add the following Location block to your existing Server configuration.
266266
</TabItem>
267267

268268
</Tabs>
269+
270+
## HAProxy (v3)
271+
272+
This is third-party documentation maintained by the community. We can't provide support for this setup and are unable to test it.
273+
274+
Add the following frontend and backend configurations for your seerr instance:
275+
```haproxy
276+
frontend seerr-frontend
277+
bind 0.0.0.0:80
278+
bind 0.0.0.0:443 ssl crt /etc/ssl/private/seerr.example.com.pem
279+
mode http
280+
log global
281+
option httplog
282+
option http-keep-alive
283+
http-request set-header X-Real-IP %[src]
284+
option forwardfor
285+
acl seerr hdr(host) -i seerr.example.com
286+
redirect scheme https code 301 if !{ ssl_fc }
287+
use_backend seerr-backend if seerr
288+
289+
backend seerr-backend
290+
mode http
291+
log global
292+
option httplog
293+
http-response set-header Strict-Transport-Security max-age=15552000
294+
option httpchk GET /api/v1/status
295+
timeout connect 30000
296+
timeout server 30000
297+
retries 3
298+
server seerr 127.0.0.1:5055 check inter 1000
299+
```

docs/troubleshooting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ If you can't change your DNS servers or force IPV4 resolution, you can use Jelly
103103

104104
In some places (like China), the ISP blocks not only the DNS resolution but also the connection to the TMDB API.
105105

106-
You can configure Jellyseerr to use a proxy with the [HTTP(S) Proxy](/using-jellyseerr/settings/general#https-proxy) setting.
106+
You can configure Jellyseerr to use a proxy with the [HTTP(S) Proxy](/using-jellyseerr/settings/general#enable-proxy-support) setting.
107107

108108
### Option 3: Force IPV4 resolution first
109109

0 commit comments

Comments
 (0)