-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapache2.conf
More file actions
24 lines (20 loc) · 848 Bytes
/
Copy pathapache2.conf
File metadata and controls
24 lines (20 loc) · 848 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
# Apache VHost for Heimdall on Cloudron.
#
# Listens on :3000 (Cloudron's reverse proxy talks to this port). The
# document root is Heimdall's public/ directory; Laravel's index.php
# routes everything from there. AllowOverride All lets Heimdall's
# .htaccess apply (URL rewrite for pretty paths).
<VirtualHost *:3000>
ServerAdmin webmaster@localhost
DocumentRoot /app/code/upstream/public
<Directory /app/code/upstream/public>
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# Cloudron sits in front of us on HTTPS; honour the forwarded scheme
# so Laravel generates correct https:// URLs in redirects.
SetEnvIf X-Forwarded-Proto "https" HTTPS=on
</VirtualHost>