|
|
|
@ -9,7 +9,7 @@ events { |
|
|
|
} |
|
|
|
|
|
|
|
http { |
|
|
|
limit_req_zone $binary_remote_addr zone=ratelimit:10m rate=10r/s; |
|
|
|
limit_req_zone $binary_remote_addr zone=ratelimit:10m rate=20r/s; |
|
|
|
include /etc/nginx/mime.types; |
|
|
|
default_type application/octet-stream; |
|
|
|
charset utf-8; |
|
|
|
@ -52,6 +52,7 @@ http { |
|
|
|
} |
|
|
|
|
|
|
|
location = / { |
|
|
|
port_in_redirect off; |
|
|
|
proxy_http_version 1.1; |
|
|
|
proxy_set_header Connection $connection_upgrade; |
|
|
|
proxy_set_header Upgrade $http_upgrade; |
|
|
|
@ -62,6 +63,7 @@ http { |
|
|
|
} |
|
|
|
|
|
|
|
location /builder/ { |
|
|
|
port_in_redirect off; |
|
|
|
proxy_http_version 1.1; |
|
|
|
proxy_set_header Connection $connection_upgrade; |
|
|
|
proxy_set_header Upgrade $http_upgrade; |
|
|
|
@ -72,6 +74,7 @@ http { |
|
|
|
} |
|
|
|
|
|
|
|
location ~ ^/(builder|app_) { |
|
|
|
port_in_redirect off; |
|
|
|
proxy_http_version 1.1; |
|
|
|
proxy_set_header Connection $connection_upgrade; |
|
|
|
proxy_set_header Upgrade $http_upgrade; |
|
|
|
|