server listen 80 root home efog Osmium server_name osmium local charse

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
server {
listen 80;
root /home/efog/Osmium;
server_name osmium.local;
charset utf8;
location / {
index index.php;
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php {
try_files $uri =404;
include common/php-fpm;
}
}