diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2021-08-19 07:52:07 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2021-08-19 07:52:07 -0400 |
| commit | e5744894afff0d62c93846072a30be24184c4048 (patch) | |
| tree | 953417b4156583dc45ae93ee08ac07065737bf2a /nextcloud.html | |
| parent | 7cae7f6a9b2efc0dc798f015aceab8942140fba5 (diff) | |
| parent | 38d9bae289d7d6b6dcb72e726ec1eafcd5f9cd0b (diff) | |
Merge branch 'master' of github.com:LukeSmithxyz/landchad
Diffstat (limited to 'nextcloud.html')
| -rw-r--r-- | nextcloud.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nextcloud.html b/nextcloud.html index ea039f8..fbbe605 100644 --- a/nextcloud.html +++ b/nextcloud.html @@ -41,7 +41,7 @@ EXIT;</code></pre> <p>Next, we need to ensure that we have SSL certificates generated for your website. If you have not already done this, refer to <a href="certbot.html">this guide</a>.</p> <p>In <code>/etc/nginx/sites-available/</code> we need to make a new configuration for Nextcloud (example: <code>/etc/nginx/sites-available/nextcloud</code>). Create it and open it, modify, and add the following lines:</p> <pre class=wide><code>upstream php-handler { - server unix:/var/run/php/php7.4-fpm.sock; + server unix:/var/run/php/php<strong>7.4</strong>-fpm.sock; server 127.0.0.1:9000; } @@ -162,8 +162,8 @@ server { chmod -R 755 /var/www/nextcloud</code> </pre> <p>Start and enable the php-fpm and the mariadb services (the name of the php-fpm service may have a version number ahead of it, use bash's tab autocomplete to help you out with that):</p> - <pre><code>systemctl enable php-fpm -systemctl start php-fpm + <pre><code>systemctl enable php<strong>7.4</strong>-fpm +systemctl start php<strong>7.4</strong>-fpm systemctl enable mariadb systemctl start mariadb</code></pre> <p>Reload the nginx service:</p> |
