location /blog { root /var/www/html/wordpress/; access_log /var/log/nginx/blog.access.log; error_log /var/log/nginx/blog.error.log; location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.1-fpm.sock; } }
No comments:
Post a Comment