browser-sec-lab/docker/nginx/default.conf
2026-07-03 20:10:02 +03:30

18 lines
399 B
Plaintext

server {
listen 80;
server_name webapp.kr-rezvan.ir blog.webapp.kr-rezvan.ir;
root /var/www/html/public;
index index.php index.html;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_pass php:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}