mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
added prefix removal
This commit is contained in:
parent
d44db3a569
commit
e356bdb781
1 changed files with 5 additions and 2 deletions
|
@ -44,8 +44,11 @@
|
||||||
"/" = {
|
"/" = {
|
||||||
root = "/Aurora/StaticSites/iot";
|
root = "/Aurora/StaticSites/iot";
|
||||||
};
|
};
|
||||||
"/turn_computer_on" = {
|
"/groovy_green_machine" = {
|
||||||
proxyPass = "http://10.0.184/turn_computer_on";
|
proxyPass = "http://10.0.184/";
|
||||||
|
extraConfig = ''
|
||||||
|
rewrite ^/groovy_green_machine(/.*)$ $1 break;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue