drupal-with-nginx icon indicating copy to clipboard operation
drupal-with-nginx copied to clipboard

Browser didn't work

Open hank-yang opened this issue 10 years ago • 0 comments
trafficstars

I need some help for this problem: I'm using perusio/drupal-with-nginx config. I configured the v-host file and enabled the site, but my browser didn't work. I entered my domain.com and always got the welcome to nginx page. How can I fix this?

Here is my config

server {

This is to avoid the spurious if for sub-domain name

"rewriting".

listen 80; # IPv4

Replace the IPv6 address by your own address. The address below

was stolen from the wikipedia page on IPv6.

##listen [fe80::202:b3ff:fe1e:8329]:80 ipv6only=on; ##server_name www.drupal.a.tw; return 301 $scheme://drupal.a.tw$request_uri; } # server domain return.

root /var/www/sites/drupal.a.tw; index index.php;

hank-yang avatar Dec 09 '14 06:12 hank-yang