Commit Graph

16 Commits

Author SHA1 Message Date
Aaron Louie 0728801a13 Reloads nginx after substituting environment variables 2020-05-26 08:28:42 -04:00
Aaron Louie 2976a687c6 Actually adds trailing slash like it's supposed to. 2020-05-25 09:29:21 -04:00
Aaron Louie 1b1100a01f Not sure if this does anything different, but whatever 2020-05-24 14:27:06 -04:00
Aaron Louie 51df2063c9 Ignore additional parameters 2020-05-24 13:49:49 -04:00
Aaron Louie 746cda4689 Finds and replaces base href template string with environment variable 2020-05-24 11:26:20 -04:00
Aaron Louie d954f2620d Ugh. envsubst doesn't do exact string match. Throw in extra slash, then remove it afterward. UGH. 2020-05-23 23:55:43 -04:00
Aaron Louie 40455fd3f2 Adds trailing slash to base href if needed. Adds root location to nginx conf 2020-05-23 22:54:10 -04:00
Aaron Louie a79515caa6 Waits in case envsubst takes a second to finish 2020-05-23 15:46:06 -04:00
Aaron Louie 198cfd90bb Passes path to index.html in as optional parameter to substitute-env-variables.sh 2020-05-23 11:50:31 -04:00
Aaron Louie 2f8bba4f37 Rewrite base href in index.html 2020-05-23 11:31:06 -04:00
Aaron Louie 637418e840 Refactors environment variable substitution script 2020-05-19 22:20:03 -04:00
Aaron Louie 55f37eb805 Prints out environment variables 2020-05-17 14:25:42 -04:00
Aaron Louie 999eb18fcc Removes debug thing, which was causing it to crash 2020-05-17 09:50:00 -04:00
Aaron Louie d6850f056c Substitutes environment variables in multiple files 2020-05-16 22:59:05 -04:00
Aaron Louie 9d28a472a5 Runs nginx on port from environment variable 2020-05-16 22:18:16 -04:00
Aaron Louie 201e65fdbf Passes environment variables through the Dockerfile 2020-04-14 16:22:34 -04:00