Updated
This commit is contained in:
parent
65b6cb4d15
commit
461af4781d
2 changed files with 12 additions and 0 deletions
|
@ -4,6 +4,7 @@ FROM php:8.3-apache
|
||||||
# Apache config
|
# Apache config
|
||||||
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
|
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
|
||||||
COPY conf/apache.conf /etc/apache2/conf-available/z-ambient.conf
|
COPY conf/apache.conf /etc/apache2/conf-available/z-ambient.conf
|
||||||
|
COPY errors /errors
|
||||||
RUN a2enconf z-ambient
|
RUN a2enconf z-ambient
|
||||||
|
|
||||||
# Php config
|
# Php config
|
||||||
|
|
|
@ -6,3 +6,14 @@
|
||||||
|
|
||||||
ServerTokens Prod
|
ServerTokens Prod
|
||||||
ServerSignature Off
|
ServerSignature Off
|
||||||
|
|
||||||
|
<Directory /errors/>
|
||||||
|
Options -Indexes
|
||||||
|
AllowOverride None
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
Alias /_errors/ /errors/
|
||||||
|
ErrorDocument 404 /_errors/404.html
|
||||||
|
ErrorDocument 403 /_errors/403.html
|
||||||
|
ErrorDocument 500 /_errors/500.html
|
||||||
|
|
Loading…
Add table
Reference in a new issue