Reenable nginx
This commit is contained in:
parent
8d7a30d4a8
commit
e22caad1c0
1 changed files with 11 additions and 11 deletions
|
@ -29,17 +29,17 @@ in
|
|||
};
|
||||
|
||||
services = {
|
||||
# nginx = {
|
||||
# enable = true;
|
||||
# virtualHosts.${srv.DOMAIN} = {
|
||||
# forceSSL = true;
|
||||
# enableACME = true;
|
||||
# extraConfig = ''
|
||||
# client_max_body_size 512M;
|
||||
# '';
|
||||
# locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}";
|
||||
# };
|
||||
# };
|
||||
nginx = {
|
||||
enable = true;
|
||||
virtualHosts.${srv.DOMAIN} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
extraConfig = ''
|
||||
client_max_body_size 512M;
|
||||
'';
|
||||
locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}";
|
||||
};
|
||||
};
|
||||
|
||||
forgejo = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue