add webserver

This commit is contained in:
♥ Minnie ♥ 2023-11-06 09:34:37 +00:00
parent fe5aa48e01
commit 14c7578229

View file

@ -96,6 +96,16 @@
# Connect requests to services # Connect requests to services
http = { http = {
routers = { routers = {
# Static site / blog with hugo and httpd
httpd = {
rule = "Host(`sajenim.dev`)";
entryPoints = [
"websecure"
];
middlewares = [ ];
service = "httpd";
};
# Central control system # Central control system
home-assistant = { home-assistant = {
rule = "Host(`kanto.dev`)"; rule = "Host(`kanto.dev`)";
@ -156,6 +166,9 @@
# How to reach the actual services # How to reach the actual services
services = { services = {
httpd.loadBalancer.servers = [
{ url = "http://192.168.1.102:5624"; }
];
home-assistant.loadBalancer.servers = [ home-assistant.loadBalancer.servers = [
{ url = "http://192.168.1.102:8123"; } { url = "http://192.168.1.102:8123"; }
]; ];