summaryrefslogtreecommitdiffstats
path: root/server/etc
diff options
context:
space:
mode:
Diffstat (limited to 'server/etc')
-rw-r--r--server/etc/apache.conf.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/etc/apache.conf.tmpl b/server/etc/apache.conf.tmpl
index ab49503d..d637c2fe 100644
--- a/server/etc/apache.conf.tmpl
+++ b/server/etc/apache.conf.tmpl
@@ -2,6 +2,13 @@
Alias /opengnsys CONSOLEDIR
+# PHP-FPM configuration
+<IfModule proxy_fcgi_module>
+ <FilesMatch ".+\.ph(p[3457]?|t|tml)$">
+ SetHandler "proxy:unix:SOCKFILE|fcgi://localhost"
+ </FilesMatch>
+</IfModule>
+
RewriteEngine On
# Redirect HTTP to HTTPS and default configuration.