Eric Nemchik 2022-09-08 20:08:24 +00:00
commit 6e4cb5d39c
238 changed files with 1554 additions and 1787 deletions

View file

@ -1,9 +1,8 @@
## Version 2021/06/02
## Version 2022/09/08
# make sure that your dns has a cname set for hass configurator
# this proxy configuration file is for the hass-configurator-docker container that is used
# this proxy configuration file is for the hass-configurator-docker container that is used
# in the hassos addon store (https://github.com/CausticLab/hass-configurator-docker)
server {
listen 443 ssl;
listen [::]:443 ssl;
@ -14,10 +13,10 @@ server {
client_max_body_size 0;
# enable for ldap auth, fill in ldap details in ldap.conf
#include /config/nginx/ldap.conf;
# enable for ldap auth (requires ldap-location.conf in the location block)
#include /config/nginx/ldap-server.conf;
# enable for Authelia
# enable for Authelia (requires authelia-location.conf in the location block)
#include /config/nginx/authelia-server.conf;
location / {
@ -25,15 +24,14 @@ server {
#auth_basic "Restricted";
#auth_basic_user_file /config/nginx/.htpasswd;
# enable the next two lines for ldap auth
#auth_request /auth;
#error_page 401 =200 /ldaplogin;
# enable for ldap auth (requires ldap-server.conf in the server block)
#include /config/nginx/ldap-location.conf;
# enable for Authelia
# enable for Authelia (requires authelia-server.conf in the server block)
#include /config/nginx/authelia-location.conf;
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf
include /config/nginx/resolver.conf;
set $upstream_app hass-configurator;
set $upstream_port 3218;
set $upstream_proto http;