瀏覽代碼

Double quotes

Bob Mottram 8 年之前
父節點
當前提交
eab55a3c49
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. 2
    2
      src/freedombone-app-matrix
  2. 1
    1
      src/freedombone-utils-turn

+ 2
- 2
src/freedombone-app-matrix 查看文件

63
         echo '# Matrix Server' >> $matrix_nginx_site
63
         echo '# Matrix Server' >> $matrix_nginx_site
64
         echo 'server {' >> $matrix_nginx_site
64
         echo 'server {' >> $matrix_nginx_site
65
         echo "  listen ${MATRIX_HTTP_PORT} ssl;" >> $matrix_nginx_site
65
         echo "  listen ${MATRIX_HTTP_PORT} ssl;" >> $matrix_nginx_site
66
-        echo '  listen [::]:${MATRIX_HTTP_PORT} ssl;' >> $matrix_nginx_site
66
+        echo "  listen [::]:${MATRIX_HTTP_PORT} ssl;" >> $matrix_nginx_site
67
         echo "  server_name ${DEFAULT_DOMAIN_NAME};" >> $matrix_nginx_site
67
         echo "  server_name ${DEFAULT_DOMAIN_NAME};" >> $matrix_nginx_site
68
         echo '' >> $matrix_nginx_site
68
         echo '' >> $matrix_nginx_site
69
         echo '  # Security' >> $matrix_nginx_site
69
         echo '  # Security' >> $matrix_nginx_site
93
         echo '' >> $matrix_nginx_site
93
         echo '' >> $matrix_nginx_site
94
         echo 'server {' >> $matrix_nginx_site
94
         echo 'server {' >> $matrix_nginx_site
95
         echo "  listen ${MATRIX_ID_HTTP_PORT} ssl;" >> $matrix_nginx_site
95
         echo "  listen ${MATRIX_ID_HTTP_PORT} ssl;" >> $matrix_nginx_site
96
-        echo '  listen [::]:${MATRIX_ID_HTTP_PORT} ssl;' >> $matrix_nginx_site
96
+        echo "  listen [::]:${MATRIX_ID_HTTP_PORT} ssl;" >> $matrix_nginx_site
97
         echo "  server_name ${DEFAULT_DOMAIN_NAME};" >> $matrix_nginx_site
97
         echo "  server_name ${DEFAULT_DOMAIN_NAME};" >> $matrix_nginx_site
98
         echo '' >> $matrix_nginx_site
98
         echo '' >> $matrix_nginx_site
99
         echo '  # Security' >> $matrix_nginx_site
99
         echo '  # Security' >> $matrix_nginx_site

+ 1
- 1
src/freedombone-utils-turn 查看文件

69
         echo '# TURN Server' >> $turn_nginx_site
69
         echo '# TURN Server' >> $turn_nginx_site
70
         echo 'server {' >> $turn_nginx_site
70
         echo 'server {' >> $turn_nginx_site
71
         echo "  listen ${TURN_HTTP_PORT} ssl;" >> $turn_nginx_site
71
         echo "  listen ${TURN_HTTP_PORT} ssl;" >> $turn_nginx_site
72
-        echo '  listen [::]:${TURN_HTTP_PORT} ssl;' >> $turn_nginx_site
72
+        echo "  listen [::]:${TURN_HTTP_PORT} ssl;" >> $turn_nginx_site
73
         echo "  server_name ${DEFAULT_DOMAIN_NAME};" >> $turn_nginx_site
73
         echo "  server_name ${DEFAULT_DOMAIN_NAME};" >> $turn_nginx_site
74
         echo '' >> $turn_nginx_site
74
         echo '' >> $turn_nginx_site
75
         echo '  # Security' >> $turn_nginx_site
75
         echo '  # Security' >> $turn_nginx_site