mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-07-08 17:42:32 +02: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:
@@ -1,6 +1,6 @@
|
|||||||
## Version 2023/02/05
|
## Version 2023/02/05
|
||||||
# make sure that your jfa-go container is named jfa-go
|
# 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 {
|
location /jfa-go {
|
||||||
return 301 $scheme://$host/jfa-go/;
|
return 301 $scheme://$host/jfa-go/;
|
||||||
@@ -26,4 +26,8 @@ location ^~ /jfa-go/ {
|
|||||||
set $upstream_port 8056;
|
set $upstream_port 8056;
|
||||||
set $upstream_proto http;
|
set $upstream_proto http;
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
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 "";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user