forgejo
This commit is contained in:
parent
d564bd5d0f
commit
8632bab88f
1 changed files with 4 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ in
|
|||
"git.ktiu.net"
|
||||
];
|
||||
|
||||
services.nginx.virtualHosts."${srv.DOMAIN}" = {
|
||||
services.nginx.virtualHosts."git.ktiu.net" = {
|
||||
onlySSL = true;
|
||||
useACMEHost = config.networking.domain;
|
||||
locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}";
|
||||
|
|
@ -32,9 +32,9 @@ in
|
|||
settings = {
|
||||
|
||||
server = {
|
||||
DOMAIN = "git.${config.networking.domain}";
|
||||
# You need to specify this to remove the port from URLs in the web UI.
|
||||
ROOT_URL = "https://${srv.DOMAIN}/";
|
||||
# DOMAIN = "git.${config.networking.domain}";
|
||||
# # You need to specify this to remove the port from URLs in the web UI.
|
||||
# ROOT_URL = "https://git.ktiu.net/";
|
||||
HTTP_PORT = 3080;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue