File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1515 seeder_django_email_backend: 'django.core.mail.backends.smtp.EmailBackend'
1616 seeder_django_email_host: 10.1.2.183
1717 treafik_seeder_rule: "Host(`webarchiv.cz`) || Host(`www.webarchiv.cz`) || Host(`seeder.webarchiv.cz`)"
18+ treafik_seeder_static_rule: "Host(`webarchiv.cz`) && (PathPrefix(`/static`) || PathPrefix(`/media`)) || Host(`www.webarchiv.cz`) && (PathPrefix(`/static`) || PathPrefix(`/media`)) || Host(`seeder.webarchiv.cz`) && (PathPrefix(`/static`) || PathPrefix(`/media`))"
1819 treafik_api_rule: "Host(`wa-docker00`) || Host(`10.3.0.50`)"
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ services:
6464 - media:/seeder/media
6565 - ./nginx.conf:/etc/nginx/conf.d/default.conf
6666 labels :
67- traefik.http.routers.static.rule : " {{ treafik_seeder_rule }} && PathPrefix(`/static`) || PathPrefix(`/media`) "
67+ traefik.http.routers.static.rule : " {{ treafik_seeder_static_rule }}"
6868 depends_on :
6969 - web
7070
Original file line number Diff line number Diff line change 1313 seeder_django_allowed_hosts: app.webarchiv.cz
1414 seeder_django_debug: 'False'
1515 treafik_seeder_rule: "Host(`app.webarchiv.cz`)"
16+ treafik_seeder_static_rule: "Host(`app.webarchiv.cz`) && (PathPrefix(`/static`) || PathPrefix(`/media`))"
1617 treafik_api_rule: "Host(`wa-dev-docker00`) || Host(`10.3.0.110`)"
You can’t perform that action at this time.
0 commit comments