Infini-OPTIPLEX: add lamp
This commit is contained in:
parent
b9768e21d3
commit
9d8312a9b7
1 changed files with 16 additions and 0 deletions
|
@ -30,4 +30,20 @@
|
|||
defaultShared = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
services.httpd = {
|
||||
enable = true;
|
||||
virtualHosts."infini-optiplex.tailnet.inx.moe" = rec {
|
||||
documentRoot = "/srv/seppo";
|
||||
extraConfig = ''
|
||||
AddHandler cgi-script .cgi
|
||||
|
||||
<Directory "${documentRoot}">
|
||||
AllowOverride All
|
||||
Options All
|
||||
Require all granted
|
||||
</Directory>
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue