Move bekkalokk files, configure gitea
This commit is contained in:
28
hosts/bekkalokk/services/nginx.nix
Normal file
28
hosts/bekkalokk/services/nginx.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "danio@pvv.ntnu.no";
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
||||
recommendedTlsSettings = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedGzipSettings = true;
|
||||
|
||||
# virtualHosts = {
|
||||
# "www.pvv.ntnu.no" = {
|
||||
# forceSSL = true;
|
||||
|
||||
# locations = {
|
||||
# "/pvv" = {
|
||||
# proxyPass = "http://localhost:${config.services.mediawiki.virtualHost.listen.pvv.port}";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user