mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-03 23:54:55 +02:00
- Add ingress: true, ingress_entry, panel_icon, panel_admin to config.yaml - Add connection_mode option (ingress_noauth/noingress_auth/ingress_auth) - Add nginx package and 90-disable_ingress.sh module to Dockerfile - Add nginx reverse proxy configuration (matching Sonarr/Radarr pattern) - Add 32-nginx_ingress.sh init script for Bazarr YAML config handling - Add nginx S6 service (run/finish) with base_url validation Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/621436fb-7e38-4572-8231-55b067f62d83 Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
30 lines
771 B
Plaintext
30 lines
771 B
Plaintext
server {
|
|
listen %%interface%%:%%port%% default_server;
|
|
|
|
#include /etc/nginx/includes/server_params.conf;
|
|
#include /etc/nginx/includes/proxy_params.conf;
|
|
|
|
client_max_body_size 0;
|
|
|
|
location / {
|
|
add_header Access-Control-Allow-Origin *;
|
|
proxy_connect_timeout 30m;
|
|
proxy_send_timeout 30m;
|
|
proxy_read_timeout 30m;
|
|
proxy_pass http://127.0.0.1:6767;
|
|
|
|
# Allow websocket
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection $http_connection;
|
|
#auth_basic off;
|
|
|
|
# Correct base_url
|
|
proxy_set_header Accept-Encoding "";
|
|
sub_filter_once off;
|
|
sub_filter_types *;
|
|
sub_filter /bazarr %%ingress_entry%%/bazarr;
|
|
}
|
|
|
|
}
|