added prefix removal

This commit is contained in:
Nickiel12 2024-02-03 18:30:36 -08:00
parent d44db3a569
commit e356bdb781

View file

@ -44,8 +44,11 @@
"/" = {
root = "/Aurora/StaticSites/iot";
};
"/turn_computer_on" = {
proxyPass = "http://10.0.184/turn_computer_on";
"/groovy_green_machine" = {
proxyPass = "http://10.0.184/";
extraConfig = ''
rewrite ^/groovy_green_machine(/.*)$ $1 break;
'';
};
};
};