diff --git a/README.md b/README.md index 0e766e6a8b..726757cd83 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Running the server Phoneme ------- -- [CMU Dictionary](http://svn.code.sf.net/p/cmusphinx/code/trunk/cmudict/), +- [CMU Dictionary](http://svn.code.sf.net/p/cmusphinx/code/trunk/cmudict/), which uses [Arpabet](https://en.wikipedia.org/wiki/Arpabet). - 54 units in the Arpabet: - Vowels: @@ -36,3 +36,61 @@ Unit Selection - Have alternatives (words, phonemes) that pair better with others. - Optimize joining on a score (start/ending pitch, tempo, etc.) +Production Server +----------------- +The production server is 209.239.112.74. + +**Current nginx config** + +In sites-available, +``` +server { + # Note: port 9000 is a temporary artifact + listen 9000; + server_name jungle.horse; + location / { + proxy_pass http://127.0.0.1:8888; + } +} + +server { + listen 9000; + server_name capitalism.store; + location / { + proxy_pass http://127.0.0.1:9999; + } +} +``` + +**See what processes bind the port** + +``` +sudo lsof -i:80 +``` + +**Old IPTABLES Config** +``` +bt@colossus960:~$ sudo iptables --list-rules +-P INPUT ACCEPT +-P FORWARD ACCEPT +-P OUTPUT ACCEPT +-A INPUT -i eth0 -p tcp -m tcp --dport 80 -j ACCEPT +-A INPUT -i eth0 -p tcp -m tcp --dport 9000 -j ACCEPT +``` + +And, + +``` +bt@colossus960:~$ sudo iptables -L +Chain INPUT (policy ACCEPT) +target prot opt source destination +ACCEPT tcp -- anywhere anywhere tcp dpt:http +ACCEPT tcp -- anywhere anywhere tcp dpt:9000 + +Chain FORWARD (policy ACCEPT) +target prot opt source destination + +Chain OUTPUT (policy ACCEPT) +target prot opt source destination +``` +