Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
nzws committed May 15, 2024
1 parent 14ad9f1 commit 8e6e0f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
9 changes: 5 additions & 4 deletions apps/push-serverless/vm/etc/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
send_timeout 86400; # 24 hours
keepalive_timeout 86400; # 24 hours
types_hash_max_size 2048;
server_tokens off;

Expand All @@ -30,8 +31,8 @@ http {
# SSL Settings
##

ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
# ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
# ssl_prefer_server_ciphers on;

##
# Logging Settings
Expand All @@ -46,7 +47,7 @@ http {
# Gzip Settings
##

gzip on;
gzip off;

# gzip_vary on;
# gzip_proxied any;
Expand Down
12 changes: 2 additions & 10 deletions infra/push-serverless/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type = "requests"
soft_limit = 9999
hard_limit = 9999

# RTMPS
# RTMP(S)
[[services]]
internal_port = 1935
protocol = "tcp"
Expand All @@ -38,16 +38,8 @@ processes = ['app']
handlers = ["tls"]
port = 1936

# RTMP (IPv6 only)
[[services]]
internal_port = 1935
protocol = "tcp"
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[[services.ports]]
port = 1935

[[vm]]
size = 'performance-2x'
size = 'performance-1x'

0 comments on commit 8e6e0f8

Please sign in to comment.