limit_req_zone $binary_remote_addr zone=ip_limit:10m rate=2r/s; to all
This commit is contained in:
parent
0b0f7047f4
commit
184290418a
|
|
@ -1,3 +1,4 @@
|
|||
limit_req_zone $binary_remote_addr zone=ip_limit:10m rate=2r/s;
|
||||
server {
|
||||
|
||||
listen 443 ssl;
|
||||
|
|
@ -14,6 +15,9 @@ server {
|
|||
|
||||
location / {
|
||||
|
||||
# Ograniczenie liczby żądań
|
||||
limit_req zone=ip_limit burst=20 nodelay;
|
||||
|
||||
proxy_pass http://angular-services:8800;
|
||||
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
limit_req_zone $binary_remote_addr zone=ip_limit:10m rate=2r/s;
|
||||
server {
|
||||
|
||||
listen 443 ssl;
|
||||
|
|
@ -18,6 +19,9 @@ server {
|
|||
|
||||
location / {
|
||||
|
||||
# Ograniczenie liczby żądań
|
||||
limit_req zone=ip_limit burst=20 nodelay;
|
||||
|
||||
proxy_pass http://arti-angular-app:4200;
|
||||
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
limit_req_zone $binary_remote_addr zone=ip_limit:10m rate=2r/s;
|
||||
|
||||
server {
|
||||
|
||||
listen 443 ssl;
|
||||
|
|
@ -31,6 +33,9 @@ server {
|
|||
|
||||
location / {
|
||||
|
||||
# Ograniczenie liczby żądań
|
||||
limit_req zone=ip_limit burst=20 nodelay;
|
||||
|
||||
proxy_pass http://zaklik_by_node_js:3001;
|
||||
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
limit_req_zone $binary_remote_addr zone=ip_limit:10m rate=2r/s;
|
||||
|
||||
server {
|
||||
|
||||
listen 443 ssl;
|
||||
|
|
@ -14,6 +16,9 @@ server {
|
|||
|
||||
location / {
|
||||
|
||||
# Ograniczenie liczby żądań
|
||||
limit_req zone=ip_limit burst=20 nodelay;
|
||||
|
||||
proxy_pass http://zaklik_by_node_js:3000;
|
||||
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
|
|||
Loading…
Reference in New Issue