h: try to fix g2s well-known
This commit is contained in:
parent
aad0c62672
commit
df8291c55d
@ -135,31 +135,31 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
# https://github.com/superseriousbusiness/gotosocial/blob/v0.5.0-rc1/example/config.yaml
|
# https://github.com/superseriousbusiness/gotosocial/blob/v0.5.0-rc1/example/config.yaml
|
||||||
configuration = {
|
configuration = {
|
||||||
log-level = "info";
|
|
||||||
log-db-queries = true;
|
|
||||||
host = "mammothcircus.com";
|
|
||||||
account-domain = "mammothcircus.com";
|
account-domain = "mammothcircus.com";
|
||||||
protocol = "http";
|
accounts-approval-required = false;
|
||||||
|
accounts-reason-required = false;
|
||||||
|
accounts-registration-open = false;
|
||||||
|
advanced-cookies-samesite = "strict";
|
||||||
bind-address = "127.0.0.1";
|
bind-address = "127.0.0.1";
|
||||||
port = 8778;
|
|
||||||
trusted-proxies = [ "127.0.0.1/32" "23.29.118.0/24" ];
|
|
||||||
db-type = "postgres";
|
|
||||||
db-address = "127.0.0.1";
|
db-address = "127.0.0.1";
|
||||||
|
db-database = "gotosocial";
|
||||||
db-port = 5432;
|
db-port = 5432;
|
||||||
|
db-tls-ca-cert = "";
|
||||||
|
db-type = "postgres";
|
||||||
db-user = "gotosocial";
|
db-user = "gotosocial";
|
||||||
dp-password = "";
|
dp-password = "";
|
||||||
db-database = "gotosocial";
|
host = "mammothcircus.com";
|
||||||
db-tls-ca-cert = "";
|
log-db-queries = false;
|
||||||
accounts-registration-open = false;
|
log-level = "info";
|
||||||
accounts-reason-required = true;
|
port = 8778;
|
||||||
accounts-approval-required = false;
|
protocol = "http";
|
||||||
storage-backend = "local";
|
storage-backend = "local";
|
||||||
storage-local-base-path = "/var/lib/gotosocial/storage";
|
storage-local-base-path = "/var/lib/gotosocial/storage";
|
||||||
|
trusted-proxies = [ "127.0.0.1/32" "23.29.118.0/24" ];
|
||||||
web-template-base-dir =
|
web-template-base-dir =
|
||||||
"${config.services.gotosocial.package}/assets/web/template/";
|
"${config.services.gotosocial.package}/assets/web/template/";
|
||||||
web-asset-base-dir =
|
web-asset-base-dir =
|
||||||
"${config.services.gotosocial.package}/assets/web/assets/";
|
"${config.services.gotosocial.package}/assets/web/assets/";
|
||||||
advanced-cookies-samesite = "strict";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
promtail = {
|
promtail = {
|
||||||
@ -385,7 +385,6 @@ in {
|
|||||||
"mammothcircus.com" = {
|
"mammothcircus.com" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
root = "/var/www/mammothcircus.com";
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
proxyPass = "http://127.0.0.1:${
|
proxyPass = "http://127.0.0.1:${
|
||||||
|
Loading…
Reference in New Issue
Block a user