This file contains 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
#!/usr/bin/env bash | |
# Copy the script into the directory where all your tcx files | |
# are located. Run it and then upload to Stava from the upload directory. | |
# Coded by Werner Gillmer <[email protected]> | |
echo "Creating sorting directories" | |
nrFiles=`ls -l ./*.tcx | wc -l` | |
nrDirs=$(($nrFiles/24)) |
This file contains 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
###################################################################### | |
# Pound configuration to route SSL requests to HAproxy and then let | |
# HAproxy load balance the rest of the services. | |
# | |
## global options: | |
User "www-data" | |
Group "www-data" | |
#RootJail "/chroot/pound" |
This file contains 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
# This configuration use acl's to distinguish between url's passwd and then route | |
# them to the right backend servers. For the backend servers to handle it correctly, you | |
# need to setup virtual hosting there as well, on whatever you use, tomcat, nginx, apache, etc. | |
# For this to work with SSL, put pound before HAproxy and use a configuration file similar to | |
# https://gist.github.com/1984822 to get it working | |
global | |
log 127.0.0.1 local0 | |
log 127.0.0.1 local1 info | |
maxconn 4096 |
NewerOlder