proxy: split media proxy out
This commit is contained in:
parent
6c4375400b
commit
db0b32abe9
1 changed files with 3 additions and 0 deletions
|
@ -138,7 +138,9 @@ in {
|
||||||
proxy_request_buffering off;
|
proxy_request_buffering off;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
} // defaultConfig // { forceSSL = false; };
|
||||||
|
|
||||||
|
"media.sapphic.engineer" = rec {
|
||||||
locations."/proxy" = {
|
locations."/proxy" = {
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
proxyPass = "http://se";
|
proxyPass = "http://se";
|
||||||
|
@ -157,6 +159,7 @@ in {
|
||||||
proxy_cache_use_stale error timeout invalid_header updating;
|
proxy_cache_use_stale error timeout invalid_header updating;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
locations."/media" = locations."/proxy";
|
||||||
} // defaultConfig // { forceSSL = false; };
|
} // defaultConfig // { forceSSL = false; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue