mirror of
https://github.com/RGBCube/Site
synced 2025-08-01 13:37:49 +00:00
Properly proxy assets
This commit is contained in:
parent
658b1f63e6
commit
f18e94f33b
1 changed files with 4 additions and 0 deletions
|
@ -172,6 +172,10 @@
|
||||||
locations."/".extraConfig = ''
|
locations."/".extraConfig = ''
|
||||||
proxy_pass http://localhost:${toString cfg.port}/404;
|
proxy_pass http://localhost:${toString cfg.port}/404;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
locations."/assets".extraConfig = ''
|
||||||
|
proxy_pass http://localhost:${toString cfg.port}/assets;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue