-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathapache.conf
More file actions
27 lines (20 loc) · 739 Bytes
/
apache.conf
File metadata and controls
27 lines (20 loc) · 739 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
<VirtualHost *:80>
ServerName mcp
# ServerAlias mcp.<domain>
WSGIScriptAlias /api /var/www/mcp/api/mcp.wsgi
WSGIDaemonProcess mcp display-name=%{GROUP}
WSGIProcessGroup mcp
Alias /static /var/www/mcp/static
Alias /ui /var/www/mcp/ui
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.<domain>
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>