correct version ?
This commit is contained in:
parent
d4d4c115b8
commit
b14b1cb48a
|
|
@ -13,16 +13,7 @@ map $http_user_agent $limit_key {
|
|||
limit_req_zone $limit_key zone=ip_limit:10m rate=200r/s;
|
||||
limit_req_status 429;
|
||||
|
||||
proxy_cache_path /var/cache/nginx
|
||||
levels=1:2
|
||||
keys_zone=COMBINED_CACHE:320m
|
||||
inactive=7d
|
||||
max_size=2500m
|
||||
use_temp_path=off
|
||||
manager_files=0
|
||||
loader_files=0
|
||||
loader_threshold=300
|
||||
loader_sleep=50;
|
||||
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=COMBINED_CACHE:320m inactive=7d max_size=2500m use_temp_path=off manager_files=0 loader_files=0 loader_threshold=300 loader_sleep=50;
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
|
|
@ -59,7 +50,7 @@ server {
|
|||
}
|
||||
|
||||
# Statyczne zasoby (obrazy, css, js, fonts)
|
||||
location ~* \.(jpg|jpeg|png|gif|ico|webp|svg|css|js|woff2)$ {
|
||||
location ~* \.(jpg|jpeg|png|gif|ico|webp|svg|woff2)$ {
|
||||
limit_req off;
|
||||
proxy_cache COMBINED_CACHE;
|
||||
proxy_pass http://arti24-container:3000;
|
||||
|
|
|
|||
Loading…
Reference in New Issue