Serve (missing) favicon.ico with nginx
This commit is contained in:
parent
c2577dc1e1
commit
945ae8563b
1 changed files with 1 additions and 0 deletions
|
|
@ -110,6 +110,7 @@ in
|
||||||
'';
|
'';
|
||||||
locations."/static/".alias = "${static}/";
|
locations."/static/".alias = "${static}/";
|
||||||
locations."/media/".alias = "${cfg.stateDir}/media/";
|
locations."/media/".alias = "${cfg.stateDir}/media/";
|
||||||
|
locations."= /favicon.ico".return = "404";
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://unix:${cfg.socketPath}";
|
proxyPass = "http://unix:${cfg.socketPath}";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue