Skip to content

Commit

Permalink
added commented-out nginx conf for hl7 validator endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dehall committed Nov 6, 2023
1 parent 431e1ff commit 8ff081b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
18 changes: 18 additions & 0 deletions config/nginx.background.conf
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,23 @@ http {

proxy_pass http://validator_service:4567/;
}

# To enable the HL7 Validator Wrapper, both the section below and
# the section in docker-compose.background.yml need to be uncommented
# location /hl7validatorapi/ {
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Host $http_host;
# proxy_set_header X-Forwarded-Proto $scheme;
# proxy_set_header X-Forwarded-Port $server_port;
# proxy_redirect off;
# proxy_set_header Connection '';
# proxy_http_version 1.1;
# chunked_transfer_encoding off;
# proxy_buffering off;
# proxy_cache off;
# proxy_read_timeout 600s;
#
# proxy_pass http://hl7_validator_service:3500/;
# }
}
}
6 changes: 3 additions & 3 deletions docker-compose.background.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ services:
volumes:
- ./data/redis:/data
command: redis-server --appendonly yes
# To enable the HL7 Validator Wrapper, both the section below and
# the section in nginx.background.conf need to be uncommented
# hl7_validator_service:
# image: markiantorno/validator-wrapper
# # Update this path to match your directory structure
# volumes:
# - ./igs:/home/igs
# ports:
# - "3500:3500"
# - ./igs:/home/igs

0 comments on commit 8ff081b

Please sign in to comment.