Skip to content

City-of-Helsinki/drupal-helfi-local-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •