gitea! via nginx! round 4! with ONE t! AND ONE G! god damn dont do drugs!
This commit is contained in:
@@ -25,12 +25,12 @@
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = ''http://127.0.0.1:${toString config.services.gitea.settinggs.server.HTTP_PORT}'';
|
proxyPass = ''http://127.0.0.1:${toString config.services.gitea.settings.server.HTTP_PORT}'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
#services.nginx.virtualHosts."git.k3t.dev".extraConfig = ''
|
#services.nginx.virtualHosts."git.k3t.dev".extraConfig = ''
|
||||||
# encode zstd gzip
|
# encode zstd gzip
|
||||||
# reverse_proxy :${toString config.services.gittea.settinggs.server.HTTP_PORT} {
|
# reverse_proxy :${toString config.services.gittea.settings.server.HTTP_PORT} {
|
||||||
# header_up X-Real-IP {remote_host}
|
# header_up X-Real-IP {remote_host}
|
||||||
# }
|
# }
|
||||||
#'';
|
#'';
|
||||||
|
|||||||
Reference in New Issue
Block a user