Forgejo, use sshd port internally, disable https
This commit is contained in:
parent
4b708b5fb3
commit
b5eea3d798
1 changed files with 2 additions and 1 deletions
|
|
@ -24,10 +24,11 @@
|
||||||
DOMAIN = config.forgejo.server.domain; #"winry.woach.me";
|
DOMAIN = config.forgejo.server.domain; #"winry.woach.me";
|
||||||
HTTP_PORT = config.forgejo.server.port;
|
HTTP_PORT = config.forgejo.server.port;
|
||||||
ROOT_URL = "https://${config.services.forgejo.settings.server.DOMAIN}/";
|
ROOT_URL = "https://${config.services.forgejo.settings.server.DOMAIN}/";
|
||||||
|
SSH_PORT = config.sshd.port;
|
||||||
};
|
};
|
||||||
# SSH_PORT = config.sshd.port;
|
|
||||||
session.COOKIE_SECURE = true;
|
session.COOKIE_SECURE = true;
|
||||||
service.DISABLE_REGISTRATION = true;
|
service.DISABLE_REGISTRATION = true;
|
||||||
|
repository.DISABLE_HTTP_GIT = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue