mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 05:45:37 +08:00
55 lines
2.7 KiB
Plaintext
55 lines
2.7 KiB
Plaintext
uwsgi:
|
|
|
|
http: localhost:8080
|
|
|
|
threads: 8
|
|
|
|
http-raw-body: True
|
|
|
|
offload-threads: 8
|
|
|
|
master: true
|
|
|
|
module: galaxy.webapps.galaxy.buildapp:uwsgi_app()
|
|
|
|
interactivetools_map: database/interactivetools_map.sqlite
|
|
python-raw: scripts/interactivetools/key_type_token_mapping.py
|
|
route-host: ^([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)-([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)\.([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)\.(interactivetool\.localhost:8080)$ goto:itdomain
|
|
route-run: goto:itdomainend
|
|
route-label: itdomain
|
|
route-host: ^([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)-([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)\.([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)\.(interactivetool\.localhost:8080)$ rpcvar:TARGET_HOST rtt_key_type_token_mapper_cached $1 $3 $2 $4 $0 5
|
|
route-if-not: empty:${TARGET_HOST} httpdumb:${TARGET_HOST}
|
|
route: .* break:404 Not Found
|
|
route-label: itdomainend
|
|
# Path-based is currently less functional and less tested than domain-based
|
|
route: ^(/interactivetool/access/)([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)/([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)/([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)(()|(/.*)*)$ goto:itpath
|
|
route-run: goto:itpathend
|
|
route-label: itpath
|
|
route: ^/interactivetool/access/([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)/([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)/([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)(()|/.*)$ rpcvar:TARGET_HOST rtt_key_type_token_mapper_cached $2 $1 $3 $4 $0 5
|
|
route-if: empty:${TARGET_HOST} goto:itpathfail
|
|
route: ^/interactivetool/access/([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)/([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)/([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)((()|/.*)*)$ rewrite:$4
|
|
route-if: empty:${PATH_INFO} addvar:PATH_INFO=/
|
|
route-run: seturi:${PATH_INFO}
|
|
route-if-not: empty:${QUERY_STRING} seturi:${PATH_INFO}?${QUERY_STRING}
|
|
route-if-not: empty:${TARGET_HOST} httpdumb:${TARGET_HOST}
|
|
route-label: itpathfail
|
|
route: .* break:404 Not Found
|
|
route-label: itpathend
|
|
|
|
|
|
galaxy:
|
|
interactivetools_enable: true
|
|
# outputs_to_working_directory will provide you with a better level of isolation. It is highly recommended to set
|
|
# this parameter with InteractiveTools.
|
|
outputs_to_working_directory: true
|
|
interactivetools_prefix: interactivetool
|
|
interactivetools_map: database/interactivetools_map.sqlite
|
|
# If you develop InteractiveTools locally and do not have a full FQDN you can
|
|
# use an arbritrary one, e.g. 'my-hostname' here, if you set this hostname in your
|
|
# job_conf.xml as well (see the corresponding comment). If running mac OS X, do not match the
|
|
# "http://host.docker.internal:8080" used at galaxy_infrastructure_url in the galaxy.yml file,
|
|
# and use an arbitrary name here instead.
|
|
# Please make sure that in the local development case you use https://localhost:8080 to access
|
|
# your Galaxy. http://my-hostname:8080 will not work.
|
|
# galaxy_infrastructure_url: http://my-hostname:8080
|