aboutsummaryrefslogtreecommitdiff
path: root/apache
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2025-01-18 20:41:30 +0200
committerKamen Mladenov <kamen@syndamia.com>2025-01-19 07:46:17 +0200
commit91f9b1c6e8db741f2b6f55b84dab39b34c213d00 (patch)
tree3c86ac611ed4dde64259a0dba6d6164f4b117ea0 /apache
parenta6eaaece177b7755c2e1fae329f39e8e86cf39b5 (diff)
downloadnowayforward_human-91f9b1c6e8db741f2b6f55b84dab39b34c213d00.tar
nowayforward_human-91f9b1c6e8db741f2b6f55b84dab39b34c213d00.tar.gz
nowayforward_human-91f9b1c6e8db741f2b6f55b84dab39b34c213d00.zip
feat(apache): Add USER environment variable and remove controllers alias
Diffstat (limited to 'apache')
-rw-r--r--apache/httpd.conf.tpl1
-rw-r--r--apache/sites/nowayforward_human.conf.tpl1
2 files changed, 1 insertions, 1 deletions
diff --git a/apache/httpd.conf.tpl b/apache/httpd.conf.tpl
index fc839ea..0a63292 100644
--- a/apache/httpd.conf.tpl
+++ b/apache/httpd.conf.tpl
@@ -31,3 +31,4 @@ Group users
AddType application/javascript .js
SetEnv MYSQL_UNIX_SOCKET ${MYSQL_UNIX_SOCKET}
+SetEnv USER ${USER}
diff --git a/apache/sites/nowayforward_human.conf.tpl b/apache/sites/nowayforward_human.conf.tpl
index 34e5533..46fa9c1 100644
--- a/apache/sites/nowayforward_human.conf.tpl
+++ b/apache/sites/nowayforward_human.conf.tpl
@@ -1,7 +1,6 @@
<VirtualHost *:8000>
ServerName localhost
DocumentRoot "${REPOSITORY}/views"
- Alias /controllers "${REPOSITORY}/controllers"
<FilesMatch \.php$>
SetHandler "proxy:unix:${PHP_FPM_SOCKET}|fcgi://localhost/"