Welcome! Log In Create A New Profile

Advanced

Balanceo de carga y Proxy cache

Posted by w3bng1nx 
Balanceo de carga y Proxy cache
November 08, 2022 04:55AM
Hola a todos, eh configurado mi balanceador de carga junto a proxy cache, pero al hacer mis prueba no me funciona el proxy cache, por favor su ayuda si esta bien realizado la configuracion.

http {

proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=STATIC:10m
inactive=24h max_size=1g;

upstream backend {
server 192.168.1.30:80;
server 192.168.1.31:80;
}

server {
Listen 80;
location / {
proxy_pass http://backend;
proxy_set_header Host $host;
proxy_buffering on;
proxy_cache STATIC;
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready