mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 04:26:02 -07:00
Update jfa-go confs to conform to jfa-go wiki
Signed-off-by: roib20 <66280613+roib20@users.noreply.github.com>
This commit is contained in:
parent
42a1700660
commit
006fc0636d
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
## Version 2023/02/05
|
||||
# make sure that your jfa-go container is named jfa-go
|
||||
# make sure to go into jfa-go Settings, under "General" set the Reverse Proxy subfolder to "/jfa-go/" and restart the jfa-go container
|
||||
# make sure to set the URL base (“Reverse Proxy subfolder”) in jfa-go > Settings > General (ui > url_base in jfa-go config.ini) to "/jfa-go/"
|
||||
|
||||
location /jfa-go {
|
||||
return 301 $scheme://$host/jfa-go/;
|
||||
|
@ -26,4 +26,8 @@ location ^~ /jfa-go/ {
|
|||
set $upstream_port 8056;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
# Remove the CSP header set for Jellyfin
|
||||
proxy_hide_header Content-Security-Policy;
|
||||
add_header Content-Security-Policy "";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue