browser-sec-lab/docker/nginx/default.conf
2026-04-14 16:44:08 +03:30

22 lines
561 B
Plaintext

# تنظیمات سایت قربانی (Laravel)
server {
listen 80;
server_name victim.lab;
root /var/www/html/public;
index index.php;
location / { try_files $uri $uri/ /index.php?$query_string; }
location ~ \.php$ {
fastcgi_pass php:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
# تنظیمات سایت مهاجم (Static/Hacker)
server {
listen 80;
server_name attacker.lab;
location / {
proxy_pass http://hacker-app:80;
}
}