fix routing
This commit is contained in:
parent
ddd64258a2
commit
a3977aa0db
1 changed files with 5 additions and 1 deletions
|
@ -10,7 +10,6 @@ in
|
||||||
{
|
{
|
||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
opengist = {
|
opengist = {
|
||||||
user = "root";
|
|
||||||
image = "ghcr.io/thomiceli/opengist:1";
|
image = "ghcr.io/thomiceli/opengist:1";
|
||||||
ports = [
|
ports = [
|
||||||
"127.0.0.1:${toString v_port}:${toString v_port}"
|
"127.0.0.1:${toString v_port}:${toString v_port}"
|
||||||
|
@ -23,6 +22,11 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
system.activationScripts."${name}_directories" = ''
|
||||||
|
mkdir -p ${hostDataDir}
|
||||||
|
chown -R root:root ${hostDataDir}
|
||||||
|
chmod -R 777 ${hostDataDir}
|
||||||
|
'';
|
||||||
|
|
||||||
services.nginx.virtualHosts."gist.joshuabell.xyz" = {
|
services.nginx.virtualHosts."gist.joshuabell.xyz" = {
|
||||||
locations = {
|
locations = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue