You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
user nginx;
worker_processes auto;
pid /var/run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
load_module "/etc/nginx/modules/ngx_http_geoip_module.so";
Question about this module
nginx traffic doesn't show full nginx sites, I have a lot of nginx sites, but it only records traffic for a few sites. (even when fetched by json)
Installed Versions
server {
listen 80;
server_name www.slotkingchris.com;
return 301 $scheme://slotkingchris.com$request_uri;
}
server {
listen 80;
server_name slotkingchris.com;
add_header Strict-Transport-Security max-age=15768000 always;
}
server {
listen 443 ssl http2;
server_name www.slotkingchris.com;
ssl_certificate /opt/ssl_certs/slotkingchris.com_16.cert;
ssl_certificate_key /opt/ssl_certs/slotkingchris.com_16.key;
}
server {
listen 443 ssl http2;
server_name slotkingchris.com;
}
Reproducible Example nginx.conf
user nginx;
worker_processes auto;
pid /var/run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
load_module "/etc/nginx/modules/ngx_http_geoip_module.so";
events {
worker_connections 768;
# multi_accept on;
}
http {
server_names_hash_bucket_size 128;
log_format custom_log '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent"';
geoip_country /usr/share/GeoIP/GeoIP.dat;
}
The text was updated successfully, but these errors were encountered: