Nginx: Difference between revisions
Jump to navigation
Jump to search
Mediawiki, not markdown
imported>Sjwhitak (Added example.) |
imported>Sjwhitak (Mediawiki, not markdown) |
||
echo "Here's all my blog files" > index.html
</syntaxhighlight>
Configure
<syntaxhighlight lang="nginx">
server {
Please note that specifically with mediawiki, there are more configurations typically added, like denying access to deleted images, cached files, etc. To do that, paste your URL to: [https://shorturls.redwerks.org/ shortURLs] and step through their given configuration. Finally, mediawiki uses [[mysql]] to run a database, though this is explained when you follow the [https://www.mediawiki.org/wiki/Manual:Installation_guide installation guide].
At this point, we have nginx pointing to port
<syntaxhighlight lang="bash">
vim /etc/php/7.4/fpm/pool.d/www.conf
|