WordPress: Difference between revisions
imported>Onny Remove notice about ongoing development since NixOS 22.11 is released |
imported>Onny Add notes about Wordpress version upgrades |
||
Line 127: | Line 127: | ||
define ('WP_MAIL_FROM', 'noreply@localhost'); | define ('WP_MAIL_FROM', 'noreply@localhost'); | ||
''; | ''; | ||
}; | |||
</syntaxHighlight> | |||
== Maintenance == | |||
=== Upgrading === | |||
Wordpress automatically performs an database and software upgrade as soon as a new package version is installed. Major version upgrades of the <code>pkgs.wordpress</code> package are performed between every new NixOS release. In case you wish to switch to a newer major Wordpress version while staying on your latest NixOS version, you can choose between Wordpress package versions available in the repository. | |||
For example switch to Wordpress 6.1 while the default Wordpress package version for NixOS 22.11 is 6.0 | |||
<syntaxHighlight lang="nix"> | |||
services.wordpress.sites."example.org" = { | |||
package = pkgs.wordpress6_1; | |||
}; | }; | ||
</syntaxHighlight> | </syntaxHighlight> |