8 lines
462 B
Bash
8 lines
462 B
Bash
#!/bin/bash
|
|
echo "=== nginx sites for weval-consulting ==="
|
|
find /etc/nginx/sites-enabled/ /etc/nginx/conf.d/ -name "*weval*" 2>/dev/null | head -5
|
|
# Find config for /wevia-em-big4.html or /enterprise-model.html auth rule
|
|
grep -l "auth_request\|weval-em\|enterprise-model\|auth-check" /etc/nginx/sites-enabled/* 2>/dev/null | head -3
|
|
# Search for auth_request directive
|
|
grep -rn "auth_request" /etc/nginx/sites-enabled/ /etc/nginx/conf.d/ 2>/dev/null | head -10
|