autoindex pics

This commit is contained in:
Ivan Kirilov Dimitrov 2024-07-22 21:01:50 +02:00
parent a4396b6374
commit a8be3498bd
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294

View File

@ -54,6 +54,12 @@ in
enableACME = true;
forceSSL = true;
locations."/" = {
root = "/var/pic";
extraConfig = ''
autoindex on;
'';
};
locations."/*.png" = {
proxyPass = "http://127.0.0.1:8000";
};
};