feat(mosquitto): use mqtt.felschr.com as default host
This commit is contained in:
parent
98761658cc
commit
4211fceda9
1 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
||||||
let
|
let
|
||||||
mqttDomain = "mqtt.${config.networking.domain}";
|
mqttHost = "mqtt.felschr.com";
|
||||||
mqttPort = 1883;
|
mqttPort = 1883;
|
||||||
mqttWSPort = 9001;
|
mqttWSPort = 9001;
|
||||||
in {
|
in {
|
||||||
|
@ -12,7 +12,8 @@ in {
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
${mqttDomain} = {
|
${mqttHost} = {
|
||||||
|
serverAliases = [ "mqtt.home.felschr.com" ];
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue