forked from poz/niksos
the nixos way (should work)
This commit is contained in:
parent
bb6645574b
commit
c2482d1d1f
3 changed files with 12 additions and 1 deletions
|
@ -52,7 +52,7 @@
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."trollface.pl".extraConfig = ''
|
virtualHosts."trollface.pl".extraConfig = ''
|
||||||
root * /var/www/trollface.pl
|
root * ${./trollface.pl}
|
||||||
file_server
|
file_server
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
11
hosts/chmura/trollface.pl/index.html
Normal file
11
hosts/chmura/trollface.pl/index.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta property="og:image" content="/trollface.png">
|
||||||
|
<title>trolled !!!</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<img src="/trollface.png">
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
hosts/chmura/trollface.pl/trollface.png
Normal file
BIN
hosts/chmura/trollface.pl/trollface.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
Loading…
Reference in a new issue