blob: 36016fa3c0f5ef243099919b87c30b1fb093327d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
server {
server_name ${DOMAIN};
root /var/www/html;
index index.php;
location / {
try_files $uri $uri/ /index.php$query_string;
}
location ~ \.php$ {
fastcgi_pass php:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
|