nginx: [emerg] неизвестная директива «» в /etc/nginx/sites-enabled/example.com:3

Я следил за этим сайтомhttp://raspberrypihelp.net/tutorials/24-raspberry-pi-webserver настроить HTTP-сервер nginx на моем Raspberry Pi и попытаться настроить вызов сайтаexample.com, Но когда я бегуsudo service nginx restartсказал

Перезапуск nginx: nginx: [emerg] неизвестная директива "" в /etc/nginx/sites-enabled/example.com:3

Вот код вexample.com.

    server {

    server_name example.com 192.168.1.88;

    access_log /srv/www/example.com/logs/access.log;

    error_log /srv/www/example.com/logs/error.log;

    root /srv/www/example.com/public/;

    location / {

        index index.php index.html index.htm;

        try_files $uri $uri/ /index.php?$args;

    }

    location ~ \.php$ {

        include /etc/nginx/fastcgi_params;

        fastcgi_pass unix:/var/run/php5-fpm.sock;

        fastcgi_index index.php;

        fastcgi_param SCRIPT_FILENAME /srv/www/example.com/public$fastcgi_script_name;

    }

    location /phpmyadmin {

        root /usr/share/;

        index index.php index.html index.htm;

        location ~ ^/phpmyadmin/(.+\.php)$ {

            try_files $uri =404;

            root /usr/share/;

            fastcgi_pass unix:/var/run/php5-fpm.sock;

            fastcgi_index index.php;

            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

            include /etc/nginx/fastcgi_params;

        }

        location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {

            root /usr/share/;

        }

    }

    location /phpMyAdmin {

        rewrite ^/* /phpmyadmin last;

    }

}

Я просто следую за шагами, но это не может успешно работать.

Ответы на вопрос(4)

Ваш ответ на вопрос