Skip to content

Latest commit

 

History

History
91 lines (69 loc) · 3.14 KB

README.md

File metadata and controls

91 lines (69 loc) · 3.14 KB

Drupal local proxy

Usage

  • Start: docker compose up -d.
  • Stop: docker compose stop
  • Remove containers: docker compose down

Configuration

By default, all traffic is served via Varnish cache. To disable Varnish, modify the .env file and remove the value from VARNISH_PREFIX env variable:

# .env
VARNISH_PREFIX=

and restart the project: docker compose restart.

Adding a new project

Modify default.conf.template file and add something like:

# Project name
location ~ ^/(fi/project|en/project|sv/project|project-assets/) {
  proxy_set_header Host ${VARNISH_PREFIX}helfi-project.docker.so;
  proxy_pass https://helfi-backend:443;
}

Available sites

Asuminen

Avustukset

Etusivu

Kaupunki ja hallinto

Kasvatus koulutus

KuVA

Liikenne

Rekry

Strategia

Terveys

Yritykset ja tyo