mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-01 19:48:47 +02:00
Update ingress.conf
This commit is contained in:
@@ -4,7 +4,7 @@ server {
|
|||||||
include /etc/nginx/includes/proxy_params.conf;
|
include /etc/nginx/includes/proxy_params.conf;
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
server_name jellyfin.*;
|
server_name jellyfin.*;
|
||||||
root /usr/share/jellyfin/web;
|
root /usr/share/jellyfin;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
# Security / XSS Mitigation Headers
|
# Security / XSS Mitigation Headers
|
||||||
@@ -13,7 +13,6 @@ server {
|
|||||||
add_header X-Content-Type-Options "nosniff";
|
add_header X-Content-Type-Options "nosniff";
|
||||||
|
|
||||||
location /web/ {
|
location /web/ {
|
||||||
root /usr/share/jellyfin;
|
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
proxy_pass http://127.0.0.1:8096/web/index.html;
|
proxy_pass http://127.0.0.1:8096/web/index.html;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
|||||||
Reference in New Issue
Block a user