feat: implement project management and service orchestration architecture
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
Alias /{{HOST}} "{{PATH}}"
|
||||
<Directory "{{PATH}}">
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
|
||||
<FilesMatch \.php$>
|
||||
SetHandler "proxy:fcgi://127.0.0.1:{{PHP_PORT}}"
|
||||
</FilesMatch>
|
||||
</Directory>
|
||||
@@ -0,0 +1,60 @@
|
||||
Define SRVROOT "{{SRVROOT}}"
|
||||
|
||||
Listen {{LISTEN_ADDRESS}}:{{PORT}}
|
||||
|
||||
LoadModule mpm_winnt_module modules/mod_mpm_winnt.so
|
||||
LoadModule authz_core_module modules/mod_authz_core.so
|
||||
LoadModule authz_host_module modules/mod_authz_host.so
|
||||
LoadModule dir_module modules/mod_dir.so
|
||||
LoadModule mime_module modules/mod_mime.so
|
||||
LoadModule alias_module modules/mod_alias.so
|
||||
LoadModule log_config_module modules/mod_log_config.so
|
||||
LoadModule rewrite_module modules/mod_rewrite.so
|
||||
LoadModule proxy_module modules/mod_proxy.so
|
||||
LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
|
||||
|
||||
ServerAdmin admin@localhost
|
||||
ServerName localhost:{{PORT}}
|
||||
|
||||
DocumentRoot "{{ROOT}}"
|
||||
<Directory "{{ROOT}}">
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
ErrorLog "{{LOG_DIR}}/apache_error.log"
|
||||
LogLevel warn
|
||||
|
||||
<IfModule log_config_module>
|
||||
LogFormat "%h %l %u %t \"%r\" %>s %b" common
|
||||
CustomLog "{{LOG_DIR}}/apache_access.log" common
|
||||
</IfModule>
|
||||
|
||||
<IfModule dir_module>
|
||||
DirectoryIndex index.php index.html index.htm
|
||||
</IfModule>
|
||||
|
||||
<Files ".ht*">
|
||||
Require all denied
|
||||
</Files>
|
||||
|
||||
# phpMyAdmin configuration
|
||||
Alias /phpmyadmin "{{PHPMYADMIN_DIR}}"
|
||||
<Directory "{{PHPMYADMIN_DIR}}">
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
|
||||
<FilesMatch \.php$>
|
||||
SetHandler "proxy:fcgi://127.0.0.1:{{PHP_PORT}}"
|
||||
</FilesMatch>
|
||||
</Directory>
|
||||
|
||||
# Global PHP handler
|
||||
<FilesMatch \.php$>
|
||||
SetHandler "proxy:fcgi://127.0.0.1:{{PHP_PORT}}"
|
||||
</FilesMatch>
|
||||
|
||||
# Project configurations
|
||||
{{PROJECTS}}
|
||||
Reference in New Issue
Block a user