From 91f9b1c6e8db741f2b6f55b84dab39b34c213d00 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 18 Jan 2025 20:41:30 +0200 Subject: feat(apache): Add USER environment variable and remove controllers alias --- apache/httpd.conf.tpl | 1 + apache/sites/nowayforward_human.conf.tpl | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'apache') 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 @@ ServerName localhost DocumentRoot "${REPOSITORY}/views" - Alias /controllers "${REPOSITORY}/controllers" SetHandler "proxy:unix:${PHP_FPM_SOCKET}|fcgi://localhost/" -- cgit v1.2.3