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
|
PidFile run/apache.pid
# Avoid distracting warnings in the logs.
ServerName maas.dev
# An MPM must be selected.
Include /etc/apache2/mods-available/mpm_event.load
Include /etc/apache2/mods-available/mpm_event.conf
# authz_core is required for correct operation.
Include /etc/apache2/mods-available/authz_core.load
Include /etc/apache2/mods-available/proxy.load
Include /etc/apache2/mods-available/proxy_http.load
# The development server listens for http on port 5240, on all interfaces,
# for both IPv4 and IPv6.
Listen 5240
ErrorLog /dev/stderr
LogFormat "%h %l %u %t \"%r\" %>s %O" common
CustomLog /dev/stdout common
ProxyPreserveHost on
# Proxy Django's dev server.
ProxyPass / http://localhost:5243/ retry=1
|