Merge branch 'master' of github.com:LukeSmithxyz/landchad
This commit is contained in:
commit
e5744894af
|
@ -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>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>
|
<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 {
|
<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;
|
server 127.0.0.1:9000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -162,8 +162,8 @@ server {
|
||||||
chmod -R 755 /var/www/nextcloud</code>
|
chmod -R 755 /var/www/nextcloud</code>
|
||||||
</pre>
|
</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>
|
<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
|
<pre><code>systemctl enable php<strong>7.4</strong>-fpm
|
||||||
systemctl start php-fpm
|
systemctl start php<strong>7.4</strong>-fpm
|
||||||
systemctl enable mariadb
|
systemctl enable mariadb
|
||||||
systemctl start mariadb</code></pre>
|
systemctl start mariadb</code></pre>
|
||||||
<p>Reload the nginx service:</p>
|
<p>Reload the nginx service:</p>
|
||||||
|
|
Loading…
Reference in New Issue