Skip to content

Commit

Permalink
jobrunner: add PHP FPM socket
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Mar 24, 2024
1 parent 78b1659 commit 39d74aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/mediawiki/templates/jobrunner.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
# Only selected paths are allowed here
RewriteCond %{REQUEST_URI} !^/(w/healthcheck|rpc/RunSingleJob)\.php
RewriteRule ^ - [R=404,L]

<FilesMatch "\.php$">
SetHandler "proxy:unix:/run/<%= @php_fpm_sock %>"
</FilesMatch>
ErrorLog ${APACHE_LOG_DIR}/jobqueue-error.log
CustomLog ${APACHE_LOG_DIR}/jobqueue-access.log wt
</VirtualHost>
</VirtualHost>

0 comments on commit 39d74aa

Please sign in to comment.