Skip to content

Commit

Permalink
Merge pull request #500 from City-of-Helsinki/update-configuration
Browse files Browse the repository at this point in the history
Automatic update
  • Loading branch information
juho-lehmonen authored Jun 13, 2024
2 parents 4777373 + 3ac2f4f commit d673882
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .platform/schema
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6
7
10 changes: 5 additions & 5 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,17 @@ services:
- internal
labels:
- "traefik.enable=true"
- "traefik.http.routers.nginx.entrypoints=https"
- "traefik.http.routers.nginx.rule=Host(`elastic-proxy-${DRUPAL_HOSTNAME}`)"
- "traefik.http.services.nginx.loadbalancer.server.port=8080"
- "traefik.http.routers.nginx.tls=true"
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}-elastic-proxy.entrypoints=https"
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}-elastic-proxy.rule=Host(`elastic-proxy-${DRUPAL_HOSTNAME}`)"
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}-elastic-proxy.tls=true"
- "traefik.http.services.${COMPOSE_PROJECT_NAME}-elastic-proxy.loadbalancer.server.port=8080"
- "traefik.docker.network=stonehenge-network"
- "traefik.http.middlewares.cors-header.headers.accesscontrolallowmethods=GET,OPTIONS,POST"
- "traefik.http.middlewares.cors-header.headers.accesscontrolallowheaders=*"
- "traefik.http.middlewares.cors-header.headers.accesscontrolalloworiginlist=*"
- "traefik.http.middlewares.cors-header.headers.accesscontrolmaxage=100"
- "traefik.http.middlewares.cors-header.headers.addvaryheader=true"
- "traefik.http.routers.nginx.middlewares=cors-header"
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}-elastic-proxy.middlewares=cors-header"
depends_on:
- elastic
profiles:
Expand Down
112 changes: 56 additions & 56 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docker/elastic-proxy/elastic.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ server {
return 200 '{"status":"success","result":"Proxy alive"}';
}

location ~ ^/([a-z][a-z_-]*)/(_search|_msearch)$ {
location ~ ^/([a-z][a-z_,-]*)/(_search|_msearch)$ {
limit_except GET POST {
deny all;
}
Expand Down

0 comments on commit d673882

Please sign in to comment.