-
-
Save roomtek/42a7fd8e77db10d36cb39f01935d8699 to your computer and use it in GitHub Desktop.
Revisions
-
steve-ng revised this gist
Jun 12, 2014 . 1 changed file with 3 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,11 @@ server { listen 443 ssl; server_name xxx.xx.io ssl on; ssl_certificate /etc/asterisk/certs/xxx.io.pem; ssl_certificate_key /etc/asterisk/certs/xxx.io.key; ssl_session_timeout 5m; ssl_protocols SSLv2 SSLv3 TLSv1; -
steve-ng revised this gist
Jun 12, 2014 . 1 changed file with 4 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,12 @@ server { listen 443 ssl; #server_name asterisk.quickdesk.io; server_name asterisk2.quickdesk.io ssl on; ssl_certificate /etc/asterisk/certs/quickdesk.io.pem; ssl_certificate_key /etc/asterisk/certs/quickdesk.io.key; ssl_session_timeout 5m; ssl_protocols SSLv2 SSLv3 TLSv1; @@ -17,8 +18,6 @@ server { location / { # prevents 502 bad gateway error proxy_buffers 8 32k; proxy_buffer_size 64k; -
steve-ng revised this gist
Jun 12, 2014 . 1 changed file with 7 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ server { listen 443 ssl; server_name xx.xx.io ssl on; ssl_certificate /etc/asterisk/certs/xx.io.pem; @@ -16,17 +16,19 @@ server { #large_client_header_buffers 8 32; location / { #proxy_set_header Host $http_host;; # prevents 502 bad gateway error proxy_buffers 8 32k; proxy_buffer_size 64k; # redirect all HTTP traffic to localhost:8088; proxy_pass http://0.0.0.0:8088/ws; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #proxy_set_header X-NginX-Proxy true; # enables WS support proxy_http_version 1.1; -
steve-ng revised this gist
Jun 12, 2014 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -19,9 +19,8 @@ server { access_log off; # prevents 502 bad gateway error proxy_buffers 8 32k; proxy_buffer_size 64k; # redirect all HTTP traffic to localhost:8080 proxy_pass http://0.0.0.0:8088/ws; -
steve-ng revised this gist
Jun 12, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ server { listen 443; server_name xx.yy.io; ssl on; ssl_certificate /etc/asterisk/certs/xx.io.pem; -
steve-ng created this gist
Jun 12, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,40 @@ server { listen 443; server_name asterisk.quickdesk.io; ssl on; ssl_certificate /etc/asterisk/certs/xx.io.pem; ssl_certificate_key /etc/asterisk/certs/xx.io.key; ssl_session_timeout 5m; ssl_protocols SSLv2 SSLv3 TLSv1; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; #prevent 502 bad gateway #large_client_header_buffers 8 32; location / { access_log off; # prevents 502 bad gateway error #proxy_buffers 8 32k; #proxy_buffer_size 64k; # redirect all HTTP traffic to localhost:8080 proxy_pass http://0.0.0.0:8088/ws; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # enables WS support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_read_timeout 999999999; } }