0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-20 18:56:09 +02:00

Compare commits

...

2 commits

Author SHA1 Message Date
adripo
63041c2c2c
Merge d2429d78ed into 3adaf30839 2025-03-26 01:52:14 +08:00
adripo
d2429d78ed fix: set ServerName to solve apache warning
Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>
2025-03-23 19:25:46 +00:00

View file

@ -27,7 +27,7 @@ declare -A base=(
)
declare -A extras=(
[apache]='\nRUN a2enmod headers rewrite remoteip ; \\\n { \\\n echo '\''RemoteIPHeader X-Real-IP'\''; \\\n echo '\''RemoteIPInternalProxy 10.0.0.0/8'\''; \\\n echo '\''RemoteIPInternalProxy 172.16.0.0/12'\''; \\\n echo '\''RemoteIPInternalProxy 192.168.0.0/16'\''; \\\n } > /etc/apache2/conf-available/remoteip.conf; \\\n a2enconf remoteip\n\n# set apache config LimitRequestBody\nENV APACHE_BODY_LIMIT 1073741824\nRUN { \\\n echo '\''LimitRequestBody ${APACHE_BODY_LIMIT}'\''; \\\n } > /etc/apache2/conf-available/apache-limits.conf; \\\n a2enconf apache-limits'
[apache]='\nRUN a2enmod headers rewrite remoteip ; \\\n { \\\n echo '\''RemoteIPHeader X-Real-IP'\''; \\\n echo '\''RemoteIPInternalProxy 10.0.0.0/8'\''; \\\n echo '\''RemoteIPInternalProxy 172.16.0.0/12'\''; \\\n echo '\''RemoteIPInternalProxy 192.168.0.0/16'\''; \\\n } > /etc/apache2/conf-available/remoteip.conf; \\\n a2enconf remoteip\n\n# set apache config LimitRequestBody\nENV APACHE_BODY_LIMIT 1073741824\nRUN { \\\n echo '\''LimitRequestBody ${APACHE_BODY_LIMIT}'\''; \\\n } > /etc/apache2/conf-available/apache-limits.conf; \\\n a2enconf apache-limits\n\n# set apache FQDN\nRUN { \\\n echo '\''ServerName localhost'\''; \\\n } > /etc/apache2/conf-available/fqdn.conf; \\\n a2enconf fqdn'
[fpm]=''
[fpm-alpine]=''
)