Просмотр исходного кода

Merge pull request #499 from eMPee584/riot-less-404

Prevent 404s when Riot tries to retrieve domain-specific config.json
pull/507/head
Slavi Pantaleev 5 лет назад
committed by GitHub
Родитель
Сommit
5b8fd44aa7
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов: 1 добавлений и 0 удалений
  1. +1
    -0
      roles/matrix-riot-web/templates/systemd/matrix-riot-web.service.j2

+ 1
- 0
roles/matrix-riot-web/templates/systemd/matrix-riot-web.service.j2 Просмотреть файл

@@ -24,6 +24,7 @@ ExecStart=/usr/bin/docker run --rm --name matrix-riot-web \
-v {{ matrix_riot_web_data_path }}/nginx.conf:/etc/nginx/nginx.conf:ro \
-v /dev/null:/etc/nginx/conf.d/default.conf:ro \
-v {{ matrix_riot_web_data_path }}/config.json:/app/config.json:ro \
-v {{ matrix_riot_web_data_path }}/config.json:/app/config.{{ matrix_server_fqn_riot }}.json:ro \
{% if matrix_riot_web_embedded_pages_home_path is not none %}
-v {{ matrix_riot_web_data_path }}/home.html:/app/home.html:ro \
{% endif %}


Загрузка…
Отмена
Сохранить