21 lines
552 B
Plaintext
21 lines
552 B
Plaintext
<VirtualHost *:80>
|
|
ServerAdmin webmaster@localhost
|
|
DocumentRoot /var/www/html/public
|
|
|
|
<Directory /var/www/html/public>
|
|
AllowOverride All
|
|
Require all granted
|
|
Options -Indexes +FollowSymLinks
|
|
</Directory>
|
|
|
|
RemoteIPHeader X-Forwarded-For
|
|
RemoteIPTrustedProxy 10.0.0.0/8
|
|
RemoteIPTrustedProxy 172.16.0.0/12
|
|
RemoteIPTrustedProxy 192.168.0.0/16
|
|
|
|
SetEnvIf X-Forwarded-Proto "https" HTTPS=on
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
</VirtualHost>
|