Nginx: Difference between revisions

Jump to navigation Jump to search
61 bytes removed ,  7 April 2022
Pretty templates
imported>Sjwhitak
(Remove editing thing)
imported>Sjwhitak
(Pretty templates)
 
At this point, we have nginx pointing to port <code>7777</code> for our <code>fastcgi</code> server to run the php files. We need to configure <code>fpm</code> to do this:
{{RootCmd|vim /etc/php/7.4/fpm/pool.d/www.conf}}▼
<syntaxhighlight lang="bash">
▲vim /etc/php/7.4/fpm/pool.d/www.conf
</syntaxhighlight>
and write
<syntaxhighlight lang="text" line start="36">
 
Update everything with systemd,
{{RootCmd|systemctl restart php7.4-fpmnginx}}▼
<syntaxhighlight lang="bash">
{{RootCmd|systemctl restart nginxphp7.4-fpm}}
 
▲systemctl restart php7.4-fpm
</syntaxhighlight>
and the two sites should work.
Anonymous user

Navigation menu