WriteFreely: Difference between revisions

imported>Jakehamilton
An open source platform for building a writing space on the web.
 
Pigs (talk | contribs)
m link to other wiki entries
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:


To create your WriteFreely instance, enable the option {{nixos:option|services.writefreely.enable}}.
To create your WriteFreely instance, enable the option {{nixos:option|services.writefreely.enable}}.
{{Evaluate}}


<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
Line 32: Line 30:
   services.writefreely = {
   services.writefreely = {
     enable = true;
     enable = true;
     admin = {
     admin = {
       name = "my-username";
       name = "my-username";
Line 72: Line 71:
==== MySQL ====
==== MySQL ====


You can choose to use a MySQL database instead of SQLite.
You can choose to use a [[Mysql|MySQL]] database instead of SQLite.


{{Note|WriteFreely requires a database password to be configured. See [https://github.com/writefreely/writefreely/issues/568 writefreely/writefreely#568] for details.}}
{{Note|WriteFreely requires a database password to be configured. See [https://github.com/writefreely/writefreely/issues/568 writefreely/writefreely#568] for details.}}
Line 130: Line 129:
=== Nginx ===
=== Nginx ===


Nginx can be used as a reverse proxy for your WriteFreely instance. This can be configured with the options under {{nixos:option|services.writefreely.nginx}}.
[[Nginx]] can be used as a reverse proxy for your WriteFreely instance. This can be configured with the options under {{nixos:option|services.writefreely.nginx}}.


<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
Line 150: Line 149:
=== ACME ===
=== ACME ===


Automatic SSL certificates can be retrieved using ACME. When used with Nginx, the certificates will be managed by NixOS's default ACME configuration. When '''not''' using Nginx, WriteFreely will manage certificates itself.
Automatic SSL certificates can be retrieved using [[ACME]]. When used with Nginx, the certificates will be managed by NixOS's default ACME configuration. When '''not''' using Nginx, WriteFreely will manage certificates itself.


<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
Line 182: Line 181:
}
}
</syntaxHighlight>
</syntaxHighlight>
[[Category:ActivityPub]]
[[Category:Server]]