server { listen 80; ## listen for ipv4; this line is default and implied root /home/davidzhang/local.ubuntu.new.star.vlinkage.com; index index.html index.htm index.php;
# Make site accessible from http://localhost/ server_name local.ubuntu.new.star.vlinkage.com;
#include yii.conf; location / { # First attempt to serve request as file, then # as directory, then fall back to index.html #try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.php?$args; # Uncomment to enable naxsi on this location # include /etc/nginx/naxsi.rules index index.php; }
location / { # First attempt to serve request as file, then # as directory, then fall back to index.html #try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.php?$args; # Uncomment to enable naxsi on this location # include /etc/nginx/naxsi.rules index index.php; }