This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| frontend ft_global | |
| acl host_dom.com req.hdr(Host) dom.com | |
| acl path_mirror_foo path -m beg /mirror/foo/ | |
| use_backend bk_myapp if host_dom.com path_mirror_foo | |
| backend bk_myapp | |
| [...] | |
| # external URL => internal URL | |
| # http://dom.com/mirror/foo/bar => http://bk.dom.com/bar | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # You must accept the Oracle JDK License Update | |
| # https://www.oracle.com/java/technologies/javase-downloads.html | |
| # usage: get_oracle_jdk_x64.sh <jdk_version> <platform> <ext> | |
| # jdk_version: 14 | |
| # platform: linux or osx or windows | |
| # ext: rpm or dmg or tar.gz or exec | |
| jdk_version=${1:-14} |