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
| #Install JRE and Spark IM with logo | |
| sudo apt install default-jre -y | |
| wget -O spark_im.tar.gz https://www.igniterealtime.org/downloadServlet?filename=spark/spark_2_9_4.tar.gz | |
| sudo rm -rf spark_im /opt/spark | |
| sudo mkdir spark_im | |
| sudo tar -xf spark_im.tar.gz -C spark_im | |
| wget -O logo.png https://stoptb.tomsk.ru/wp-content/uploads/2015/05/logo-spark_256x256.png | |
| sudo mkdir -p /opt/spark/ | |
| sudo mv logo.png /opt/spark/ |
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
| if ($request_uri = /) { | |
| set $test A; | |
| } | |
| if ($host ~* teambox.com) { | |
| set $test "${test}B"; | |
| } | |
| if ($http_cookie !~* "auth_token") { | |
| set $test "${test}C"; |