remove akkoma
This commit is contained in:
parent
0e1f86d230
commit
b8fe345989
1 changed files with 8 additions and 20 deletions
|
|
@ -222,30 +222,18 @@ grafana = {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
akkoma = {
|
|
||||||
enable = true;
|
|
||||||
initDb.enable = true;
|
|
||||||
config = {
|
|
||||||
":pleroma" = {
|
|
||||||
":instance" = {
|
|
||||||
name = "dhilton fedi";
|
|
||||||
description = "dhilton akkoma server";
|
|
||||||
email = "markers711@gmail.com";
|
|
||||||
registration_open = false;
|
|
||||||
};
|
|
||||||
"Pleroma.Web.Endpoint" = {url.host = "fed.dhilton.xyz";};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
nginx = {
|
|
||||||
enableACME = true;
|
|
||||||
forceSSL = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
nginx = {
|
nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
commonHttpConfig = ''
|
||||||
|
map $http_authorization $is_allowed_user {
|
||||||
|
default 0;
|
||||||
|
"Bearer ratToken" 1;
|
||||||
|
"Bearer notRatToken" 1;
|
||||||
|
}
|
||||||
|
'';
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
|
clientMaxBodySize = "4g";
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"dhilton.xyz" = {
|
"dhilton.xyz" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue