forked from hacc/haccfiles
tracktrain: remove cors header
this is almost certainly not needed anymore. i think.
This commit is contained in:
parent
4c456eae1c
commit
2e74ca9b35
1 changed files with 0 additions and 3 deletions
|
@ -22,9 +22,6 @@ in
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://192.168.42.41:4000";
|
proxyPass = "http://192.168.42.41:4000";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
extraConfig = ''
|
|
||||||
add_header 'Access-Control-Allow-Origin' '*' always;
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
# note: this shadows the /metrics endpoint of tracktrain
|
# note: this shadows the /metrics endpoint of tracktrain
|
||||||
# in case you remove this, please consider putting something
|
# in case you remove this, please consider putting something
|
||||||
|
|
Loading…
Reference in a new issue