Commit Graph

9 Commits

Author SHA1 Message Date
Udit Desai
a037c7205b improve(docker-image): symlink swagger.json from app directory to nginx (#4024) 2018-01-11 17:06:56 -06:00
Jatesadakarn Saengrat
8e4f94b33f Change nginx configuration based on BASE_URL, instead of moving actual files 2018-01-05 18:56:30 +07:00
Michael Parker
5db4131046 Allow UI base url to be customizable 2017-11-28 12:01:49 -06:00
Juhamatti Niemelä
6dd5d80770 Fix accessing bundled swagger json behind reverse proxy
If swagger-ui is run behind reverse proxy in path other than / accessing
bundled swagger json configured in SWAGGER_JSON env variable will fail.

Fix that by changing REL_PATH prefix from `/` to `./`
2017-10-24 16:42:51 +03:00
Tony Tam
08c691894d extract basename from $SWAGGER_JSON file 2017-06-09 11:40:33 -07:00
Franz Wong
20e7c0708a Copy swagger.json to nginx directory 2017-06-03 13:01:11 +09:00
redsux
adf9f2d8aa Fix issue #2936
Fix "sed" regex in docker-run.sh to use the VALIDATOR_URL environment variable.
Don't use it in quotes if it's defined to "null" or "undefined".
2017-04-21 10:58:50 +02:00
Tony Tam
2b159372a9 removed dead line 2017-04-14 14:12:55 -07:00
Tony Tam
3ce9baee30 added variables for docker 2017-04-11 13:59:34 -07:00