Skip to content

Commit

Permalink
Update jfa-go confs to conform to jfa-go wiki
Browse files Browse the repository at this point in the history
Signed-off-by: roib20 <[email protected]>
  • Loading branch information
roib20 committed Feb 20, 2023
1 parent 42a1700 commit 006fc06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jfa-go.subfolder.conf.sample
Original file line number Diff line number Diff line change
@@ -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/;
Expand All @@ -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 "";
}

0 comments on commit 006fc06

Please sign in to comment.