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"
|
"git.ktiu.net"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.nginx.virtualHosts."${srv.DOMAIN}" = {
|
services.nginx.virtualHosts."git.ktiu.net" = {
|
||||||
onlySSL = true;
|
onlySSL = true;
|
||||||
useACMEHost = config.networking.domain;
|
useACMEHost = config.networking.domain;
|
||||||
locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}";
|
locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}";
|
||||||
|
|
@ -32,9 +32,9 @@ in
|
||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
server = {
|
server = {
|
||||||
DOMAIN = "git.${config.networking.domain}";
|
# DOMAIN = "git.${config.networking.domain}";
|
||||||
# You need to specify this to remove the port from URLs in the web UI.
|
# # You need to specify this to remove the port from URLs in the web UI.
|
||||||
ROOT_URL = "https://${srv.DOMAIN}/";
|
# ROOT_URL = "https://git.ktiu.net/";
|
||||||
HTTP_PORT = 3080;
|
HTTP_PORT = 3080;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue