fix: use /var/www/html for seeded docroot move
Some checks failed
cc-ci/testme cc-ci: failure

This commit is contained in:
autonomic-bot
2026-06-01 19:55:08 +00:00
parent 9802e61496
commit 194915b078
2 changed files with 5 additions and 5 deletions

View File

@ -21,14 +21,14 @@ services:
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" - "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=1.11.2+1.29.0" - "coop-cloud.${STACK_NAME}.version=1.11.2+1.29.0"
- "backupbot.backup=true" - "backupbot.backup=true"
- "backupbot.backup.path=/srv/www/html" - "backupbot.backup.path=/var/www/html"
environment: environment:
- DEFAULT_CONF_FILE=/etc/nginx/conf.d/default.conf - DEFAULT_CONF_FILE=/etc/nginx/conf.d/default.conf
- REDIRECT_FROM_PATH - REDIRECT_FROM_PATH
- REDIRECT_TO_URL - REDIRECT_TO_URL
- REDIRECT_TYPE - REDIRECT_TYPE
volumes: volumes:
- content:/srv/www/html - content:/var/www/html
configs: configs:
- source: nginx_default_conf - source: nginx_default_conf
target: /etc/nginx/conf.d/default.conf target: /etc/nginx/conf.d/default.conf

View File

@ -8,7 +8,7 @@ server {
#access_log /var/log/nginx/host.access.log main; #access_log /var/log/nginx/host.access.log main;
location / { location / {
root /srv/www/html; root /var/www/html;
index index.html index.htm; index index.html index.htm;
autoindex on; autoindex on;
@ -25,14 +25,14 @@ server {
error_page 404 /404.html; error_page 404 /404.html;
location = /404.html { location = /404.html {
root /srv/www/html; root /var/www/html;
} }
# redirect server error pages to the static page /50x.html # redirect server error pages to the static page /50x.html
# #
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /50x.html {
root /srv/www/html; root /var/www/html;
} }
# proxy the PHP scripts to Apache listening on 127.0.0.1:80 # proxy the PHP scripts to Apache listening on 127.0.0.1:80