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;
|
||||
'';
|
||||
};
|
||||
} // defaultConfig // { forceSSL = false; };
|
||||
|
||||
"media.sapphic.engineer" = rec {
|
||||
locations."/proxy" = {
|
||||
recommendedProxySettings = true;
|
||||
proxyPass = "http://se";
|
||||
|
@ -157,6 +159,7 @@ in {
|
|||
proxy_cache_use_stale error timeout invalid_header updating;
|
||||
'';
|
||||
};
|
||||
locations."/media" = locations."/proxy";
|
||||
} // defaultConfig // { forceSSL = false; };
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue