blob: 5f69b964caaa0eadb3b7d369971b3d9cba52a160 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
upstream php {
server php:9000;
}
server {
listen 80;
server_name 100.75.105.112 malcz.com;
root /var/www/html;
index index.php index.html;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi.conf;
fastcgi_intercept_errors on;
fastcgi_pass php;
}
}
|