aboutsummaryrefslogtreecommitdiff
path: root/apache/sites
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2025-01-18 15:34:34 +0200
committerKamen Mladenov <kamen@syndamia.com>2025-01-19 07:46:17 +0200
commit0fb21de511257b5738d166c61e80fc6fb180b6a1 (patch)
treec4dd0800fa63bb64995bbc5c5b84c317ddd4540a /apache/sites
parent1faf25dc6013211544212f186196a6039b2cef98 (diff)
downloadnowayforward_human-0fb21de511257b5738d166c61e80fc6fb180b6a1.tar
nowayforward_human-0fb21de511257b5738d166c61e80fc6fb180b6a1.tar.gz
nowayforward_human-0fb21de511257b5738d166c61e80fc6fb180b6a1.zip
feat: Add php to apache
Diffstat (limited to 'apache/sites')
-rw-r--r--apache/sites/nowayforward_human.conf.tpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/apache/sites/nowayforward_human.conf.tpl b/apache/sites/nowayforward_human.conf.tpl
index 30ebe7e..34e5533 100644
--- a/apache/sites/nowayforward_human.conf.tpl
+++ b/apache/sites/nowayforward_human.conf.tpl
@@ -1,4 +1,9 @@
<VirtualHost *:8000>
ServerName localhost
- DocumentRoot ${REPOSITORY}/views
+ DocumentRoot "${REPOSITORY}/views"
+ Alias /controllers "${REPOSITORY}/controllers"
+
+ <FilesMatch \.php$>
+ SetHandler "proxy:unix:${PHP_FPM_SOCKET}|fcgi://localhost/"
+ </FilesMatch>
</VirtualHost>