This repository was archived by the owner on Jun 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
modules/nixos/auxolotl/services/forge Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 5252 ENABLED = true ;
5353 FROM = "git@${ cfg . domain } " ;
5454 PROTOCOL = "smtps" ;
55- SMTP_ADDR = "smtp.${ cfg . domain } " ;
55+ SMTP_ADDR = "smtp.mailgun.org " ;
5656 SMTP_PORT = 465 ;
5757 USER = "git@${ cfg . domain } " ;
5858 } ;
6262 REGISTER_EMAIL_CONFIRM = true ;
6363 ENABLE_NOTIFY_MAIL = true ;
6464 DISABLE_REGISTRATION = false ;
65+ DEFAULT_ALLOW_CREATE_ORGANIZATION = false ;
6566 } ;
6667 server = {
6768 DOMAIN = "${ cfg . subdomain } .${ cfg . domain } " ;
6869 HTTP_PORT = cfg . port ;
70+ ROOT_URL = "https://${ cfg . subdomain } .${ cfg . domain } " ;
6971 } ;
7072 repository = {
7173 ENABLE_PUSH_CREATE_USER = true ;
7577 INSTALL_LOCK = true ;
7678 } ;
7779 indexer = {
78- REPLO_INDEXER_ENABLED = true ;
79- UPDATE_BUFFER_LEN = 20 ;
80- MAX_FILE_SIZE = 1048576 ;
80+ REPO_INDEXER_ENABLED = true ;
8181 } ;
8282 session = {
8383 PROVIDER = "db" ;
9696
9797 virtualHosts = {
9898 "${ cfg . subdomain } .${ cfg . domain } " = {
99+ forceSSL = true ;
100+ enableACME = true ;
101+
99102 locations = {
100103 "/" = {
101104 proxyPass = "http://localhost:${ builtins . toString cfg . port } " ;
You can’t perform that action at this time.
0 commit comments