LS
With the $proxy_protocol_addr and $proxy_protocol_port variables which capture the original client IP address and port. The $remote_addr and $remote_port variables capture the IP address and port of the load balancer.🤔
Size: a a a
LS
With the $proxy_protocol_addr and $proxy_protocol_port variables which capture the original client IP address and port. The $remote_addr and $remote_port variables capture the IP address and port of the load balancer.🤔
AN
HF
server {
listen 80 default_server;
access_log /var/log/nginx/catchall_general.log;
error_page 404 /404.html;
location = /404.html {
internal;
root /var/www/error;
access_log /var/log/nginx/catchall_404.log;
}
location = /favicon.ico {
access_log off;
log_not_found off;
}
location = /robots.txt {
access_log off;
log_not_found off;
}
location / {
access_log /var/log/nginx/catchall_location.log;
return 404;
}
}
server {
listen 80;
server_name $hostname;
access_log /var/log/nginx/virtualhost.log;
root /var/www/html;
index index.html index.htm;
location / {
try_files $uri $uri/ =404;
}
}
AN
HF
AN
HF
HF
AN
E
HF
HF
E
HF
HF
HF
/404.html
because of the redirect, those might never matchHF
АК
ЕК
АК