try a wildcard in nginx?
This commit is contained in:
parent
aaeea3487b
commit
b810354daa
1 changed files with 2 additions and 2 deletions
|
|
@ -34,12 +34,12 @@
|
||||||
|
|
||||||
# required due to unix socket permissions
|
# required due to unix socket permissions
|
||||||
users.users.nginx.extraGroups = [config.users.groups.anubis.name];
|
users.users.nginx.extraGroups = [config.users.groups.anubis.name];
|
||||||
services.nginx.virtualHosts."gladtherescake.eu" = {
|
services.nginx.virtualHosts."*.gladtherescake.eu" = {
|
||||||
locations = {
|
locations = {
|
||||||
"/".proxyPass = "http://unix:${config.services.anubis.instances.default.settings.BIND}";
|
"/".proxyPass = "http://unix:${config.services.anubis.instances.default.settings.BIND}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts."lillianviolet.dev" = {
|
services.nginx.virtualHosts."*.lillianviolet.dev" = {
|
||||||
locations = {
|
locations = {
|
||||||
"/".proxyPass = "http://unix:${config.services.anubis.instances.default.settings.BIND}";
|
"/".proxyPass = "http://unix:${config.services.anubis.instances.default.settings.BIND}";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue