diff --git a/config/nginx.background.conf b/config/nginx.background.conf index f89747207..f69287fd1 100644 --- a/config/nginx.background.conf +++ b/config/nginx.background.conf @@ -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/; +# } } } diff --git a/docker-compose.background.yml b/docker-compose.background.yml index 5647e552e..c03de0b16 100644 --- a/docker-compose.background.yml +++ b/docker-compose.background.yml @@ -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" \ No newline at end of file + # - ./igs:/home/igs \ No newline at end of file