forked from vspeter/MCP
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapache.conf
More file actions
29 lines (22 loc) · 806 Bytes
/
apache.conf
File metadata and controls
29 lines (22 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<VirtualHost *:80>
ServerName mcp
ServerAlias mcp.*
WSGIScriptAlias /api /var/www/mcp/api/mcp.wsgi
WSGIDaemonProcess mcp display-name=%{GROUP}
WSGIProcessGroup mcp
DocumentRoot /var/www/mcp/ui
# remove when ui is rebuilt without ui in the url
Alias /ui /var/www/mcp/ui
Alias /static /var/www/mcp/static
LogFormat "%a %t %D \"%r\" %>s %I %O \"%{Referer}i\" \"%{User-Agent}i\" %X" mcp_log
ErrorLog ${APACHE_LOG_DIR}/mcp_error.log
CustomLog ${APACHE_LOG_DIR}/mcp_access.log mcp_log
</VirtualHost>
<VirtualHost *:80>
ServerName git
ServerAlias git.*
DocumentRoot /var/www/git
LogFormat "%a %t %D \"%r\" %>s %I %O \"%{Referer}i\" \"%{User-Agent}i\" %X" git_log
ErrorLog ${APACHE_LOG_DIR}/git_error.log
CustomLog ${APACHE_LOG_DIR}/git_access.log git_log
</VirtualHost>