{"id":5592,"date":"2015-04-20T17:01:51","date_gmt":"2015-04-20T17:01:51","guid":{"rendered":"https:\/\/blog.coolicehost.com\/izpolzvane-na-nginx-za-wordpress\/"},"modified":"2015-04-20T17:01:51","modified_gmt":"2015-04-20T17:01:51","slug":"izpolzvane-na-nginx-za-wordpress","status":"publish","type":"post","link":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/","title":{"rendered":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 Nginx \u0437\u0430 WordPress"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-77\" src=\"https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/wordpress-nginx.jpg\" alt=\"Wordpress Nginx\" width=\"320\" height=\"220\" srcset=\"https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/wordpress-nginx.jpg 320w, https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/wordpress-nginx-300x206.jpg 300w, https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/wordpress-nginx-270x186.jpg 270w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/>\u041d\u0430\u0441\u043a\u043e\u0440\u043e \u0437\u0430\u0431\u0435\u043b\u044f\u0437\u0430\u0445\u043c\u0435, \u0447\u0435 \u043c\u043d\u043e\u0433\u043e \u0445\u043e\u0440\u0430 \u043f\u0440\u0435\u043c\u0438\u043d\u0430\u0432\u0430\u0442 \u043e\u0442 Apache \u043a\u044a\u043c Nginx, \u0437\u0430 \u0434\u0430 \u0437\u0430\u0445\u0440\u0430\u043d\u0432\u0430\u0442 \u0441\u0432\u043e\u044f <a title=\"WordPress CMS\" href=\"https:\/\/blog.coolicehost.com\/bg\/tag\/wordpress\/\" target=\"_blank\" rel=\"noopener\">WordPress<\/a> \u0441\u0430\u0439\u0442. \u0412 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f \u0433\u043e\u0432\u043e\u0440\u0438\u0445\u043c\u0435 \u0437\u0430 \u043f\u0440\u0435\u0434\u0438\u043c\u0441\u0442\u0432\u0430\u0442\u0430 \u043d\u0430 <a title=\"Nginx Hosting\" href=\"https:\/\/blog.coolicehost.com\/bg\/category\/nginx-hosting\/\" target=\"_blank\" rel=\"noopener\">Nginx<\/a>, \u0430 \u0441\u0435\u0433\u0430 \u0449\u0435 \u0432\u0438 \u0434\u0430\u0434\u0435\u043c \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u044a\u0432\u0435\u0442\u0430 \u043a\u0430\u043a \u0434\u0430 \u043f\u0440\u0435\u043c\u0438\u043d\u0435\u0442\u0435 \u043a\u044a\u043c Nginx \u043e\u0442 Apache.<\/p>\n<p><strong>\u041f\u0440\u0435\u0434\u0438 \u0434\u0430 \u0437\u0430\u043f\u043e\u0447\u043d\u0435\u043c, \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0432\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0438\u0440\u0430\u043c\u0435, \u0447\u0435 \u0442\u043e\u0432\u0430 \u0435 \u0442\u0435\u0441\u0442\u0432\u0430\u043d\u043e \u043d\u0430:<\/strong><\/p>\n<ul>\n<li>Arch Linux 64 bit (Nginx 0.8.54)<\/li>\n<li>Mac OSX Server Leopard \u0438 OSX Server Snow Leopard \u0447\u0440\u0435\u0437 MacPorts (Nginx 0.8.54, \u043f\u043e\u0434\u0434\u0440\u044a\u0436\u043a\u0430\u0442\u0430 \u043d\u0430 php-fpm \u0438\u0437\u0438\u0441\u043a\u0432\u0430 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 PHP 5.3 \u201ePortfile\u201c)<\/li>\n<li>Ubuntu Server 10.04 LTS (Nginx 0.8.54 \u0441 php-fpm)<\/li>\n<\/ul>\n<p> \u0412 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u0442\u0430 \u043d\u0430 WordPress \u0435 \u0432 \u0433\u043e\u043b\u044f\u043c\u0430 \u0441\u0442\u0435\u043f\u0435\u043d \u043e\u0431\u0432\u044a\u0440\u0437\u0430\u043d\u0430 \u0441 Apache, \u0442\u0430\u043a\u0430 \u0447\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438\u0442\u0435 \u0438 \u043f\u043e\u0434\u0434\u0440\u044a\u0436\u043a\u0430\u0442\u0430 \u0437\u0430 Nginx \u0441\u0430 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438.<\/p>\n<p>\u0421\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u043d\u043e, \u0430\u043a\u043e \u0438\u0441\u043a\u0430\u0442\u0435 WordPress \u0434\u0430 \u0440\u0430\u0431\u043e\u0442\u0438 \u0441 Nginx, \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0433\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0430\u0442\u0435 \u043f\u043e \u0442\u043e\u0437\u0438 \u043d\u0430\u0447\u0438\u043d. \u0417\u0430 \u0446\u0435\u043b\u0442\u0430 \u0441\u0430 \u043d\u0430\u043b\u0438\u0447\u043d\u0438 \u043e\u043f\u0446\u0438\u0438\u0442\u0435: <strong>fastcgi<\/strong> \u0438\u043b\u0438 <strong>php-fpm<\/strong>.<\/p>\n<p>\u0429\u0435 \u0432\u0438 \u043f\u043e\u043a\u0430\u0436\u0435\u043c \u043a\u0430\u043a \u0434\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0430\u0442\u0435 \u0441 \u0432\u0442\u043e\u0440\u0430\u0442\u0430 \u043e\u043f\u0446\u0438\u044f \u2013 <strong>php-fpm<\/strong>, \u0437\u0430\u0449\u043e\u0442\u043e \u0435 \u043f\u043e-\u043b\u0435\u0441\u043d\u0430. \u0417\u0430 \u0434\u0430 \u0431\u044a\u0434\u0435 \u043f\u043e-\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c\u043e, \u0441\u043c\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u043b\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u0442\u0430 \u043d\u0430 \u043f\u0435\u0442 \u0444\u0430\u0439\u043b\u0430:<\/p>\n<h2>Main (generic) startup file<\/h2>\n<p> \u0422\u0430\u0437\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u0438, \u0430\u043a\u043e \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 Arch Linux. \u0422\u043e\u0432\u0430, \u043a\u043e\u0435\u0442\u043e \u0449\u0435 \u043f\u043e\u043a\u0430\u0436\u0435\u043c, \u0435 \u0435\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u043e \u043d\u0430:<\/p>\n<p>\/etc\/nginx\/nginx.conf (\u0438\u043b\u0438 \/etc\/nginx\/conf\/nginx.conf<\/p>\n<blockquote><p># Generic startup file. user {user} {group};<\/p>\n<p>#ususally equal to number of CPU&#8217;s you have. run command &#8222;grep processor \/proc\/cpuinfo | wc -l&#8220; to find it<br \/>\nworker_processes 2;<\/p>\n<p>error_log \/var\/log\/nginx\/error.log;<br \/>\npid \/var\/run\/nginx.pid;<\/p>\n<p>Keeps the logs free of messages about not being able to bind().<\/p>\n<p>#daemon off;<\/p>\n<p>events {<br \/>\nworker_connections 1024;<br \/>\n}<\/p>\n<p>http {<\/p>\n<p>rewrite_log on;<\/p>\n<p>include mime.types;<br \/>\ndefault_type application\/octet-stream;<br \/>\naccess_log \/var\/log\/nginx\/access.log;<br \/>\nsendfile on;<\/p>\n<p>tcp_nopush on;<\/p>\n<p>keepalive_timeout 3;<\/p>\n<p>tcp_nodelay on;<br \/>\ngzip on;<\/p>\n<p>#php max upload limit cannot be larger than this<br \/>\nclient_max_body_size 13m;<br \/>\nindex index.php index.html index.htm;<\/p>\n<p>Upstream to abstract backend connection(s) for PHP.<\/p>\n<p>upstream php {<br \/>\n#this should match value of &#8222;listen&#8220; directive in php-fpm pool<br \/>\nserver unix:\/tmp\/php-fpm.sock;<\/p>\n<p>server 127.0.0.1:9000;<\/p>\n<p>}<\/p>\n<p>include sites-enabled\/*;<br \/>\n}<\/p><\/blockquote>\n<p>\u0421\u0435\u0433\u0430 \u0437\u043d\u0430\u0435\u043c, \u0447\u0435 \u0442\u043e\u0432\u0430, \u043a\u043e\u0435\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u0432\u0430\u043c\u0435, \u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e \u043e\u0442 \u043f\u043e\u0432\u0435\u0447\u0435\u0442\u043e Nginx \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0438 \u0435 \u043c\u0430\u043b\u043a\u043e \u0442\u0440\u0443\u0434\u043d\u043e. \u041d\u043e \u0441 \u043c\u0430\u043b\u043a\u043e \u0443\u0441\u0438\u043b\u0438\u044f \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u0433\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u0438\u043c.<\/p>\n<h2>Per Site configuration<\/h2>\n<blockquote><p># Redirect everything to the main site. We use a separate server statement and NOT an if statement &#8211; see http:\/\/wiki.nginx.org\/IfIsEvil<\/p>\n<p>server {<br \/>\nserver_name _;<br \/>\nrewrite ^ $scheme:\/\/mysite.com$request_uri redirect;<br \/>\n}<\/p>\n<p>server {<br \/>\nserver_name mysite.com;<br \/>\nroot \/var\/www\/mysite.com;<\/p>\n<p>index index.php;<\/p>\n<p>include global\/restrictions.conf;<\/p>\n<p>Additional rules go here.<br \/>\nOnly include one of the files below.<\/p>\n<p>include global\/wordpress.conf;<\/p>\n<p>include global\/wordpress-ms-subdir.conf;<br \/>\ninclude global\/wordpress-ms-subdomain.conf;<\/p>\n<p>}<\/p><\/blockquote>\n<h2>Global restrictions file<\/h2>\n<blockquote><p># Global restrictions configuration file. # Designed to be included in any server {} block.&lt;\/p&gt; location = \/favicon.ico { log_not_found off; access_log off; }<\/p>\n<p>location = \/robots.txt {<br \/>\nallow all;<br \/>\nlog_not_found off;<br \/>\naccess_log off;<br \/>\n}<\/p>\n<p>Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac).<br \/>\nKeep logging the requests to parse later (or to pass to firewall utilities such as fail2ban)<\/p>\n<p>location ~ \/. {<br \/>\ndeny all;<br \/>\n}<\/p>\n<p>Deny access to any files with a .php extension in the uploads directory<br \/>\nWorks in sub-directory installs and also in multisite network<br \/>\nKeep logging the requests to parse later (or to pass to firewall utilities such as fail2ban)<\/p>\n<p>location ~* \/(?:uploads|files)\/.*.php$ {<br \/>\ndeny all;<br \/>\n}<\/p><\/blockquote>\n<h2>General WordPress rules<\/h2>\n<p> \u0422\u043e\u0432\u0430 \u0435 \u0437\u0430 \u0438\u043d\u0441\u0442\u0430\u043b\u0430\u0446\u0438\u044f \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0447\u043d\u0438 \u0431\u043b\u043e\u0433\u043e\u0432\u0435: <\/p>\n<blockquote><p># WordPress single blog rules. # Designed to be included in any server {} block.<br \/>\nThis order might seem weird &#8211; this is attempted to match last if rules below fail.<\/p>\n<p>location \/ {<br \/>\ntry_files $uri $uri\/ \/index.php?$args;<br \/>\n}<\/p>\n<p>Add trailing slash to *\/wp-admin requests.<\/p>\n<p>rewrite \/wp-admin$ $scheme:\/\/$host$uri\/ permanent;<\/p>\n<p>Directives to send expires headers and turn off 404 error logging.<\/p>\n<p>location ~* ^.+.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {<br \/>\naccess_log off; log_not_found off; expires max;<br \/>\n}<\/p>\n<p>Uncomment one of the lines below for the appropriate caching plugin (if used).<\/p>\n<p>#include global\/wordpress-wp-super-cache.conf;<br \/>\n#include global\/wordpress-w3-total-cache.conf;<\/p>\n<p>Pass all .php files onto a php-fpm\/php-fcgi server.<\/p>\n<p>location ~ [^\/].php(\/|$) {<br \/>\nfastcgi_split_path_info ^(.+?.php)(\/.*)$;<br \/>\nif (!-f $document_root$fastcgi_script_name) {<br \/>\nreturn 404;<br \/>\n}<\/p>\n<p>This is a robust solution for path info security issue and works with &#8222;cgi.fix_pathinfo = 1&#8220; in \/etc\/php.ini (default)<\/p>\n<p>include fastcgi.conf;<br \/>\nfastcgi_index index.php;<\/p>\n<p>fastcgi_intercept_errors on;<\/p>\n<p>fastcgi_pass php;<br \/>\n}<\/p><\/blockquote>\n<h2>URL Rewrites \/ Permalinks<\/h2>\n<p> \u0412 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 WordPress \u0438\u043c\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0437\u0430 Apache, \u043d\u043e \u0430\u043a\u043e \u0441\u0442\u0435 \u0440\u0435\u0448\u0438\u043b\u0438 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 nginx, \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 WordPress \u043f\u043e-\u0432\u0438\u0441\u043e\u043a\u0430 \u043e\u0442 3.7.<\/p>\n<p>\u041c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u043f\u043b\u044a\u0433\u0438\u043d\u0430 Nginx Helper \u0438\u043b\u0438 \u0434\u0430 \u0432\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0442\u043e\u0432\u0430 \u0432 \u043f\u043b\u044a\u0433\u0438\u043d:<\/p>\n<blockquote><p>add_filter( &#8216;got_rewrite&#8217;, &#8216;__return_true&#8217; );<\/p><\/blockquote>\n<p> \u0421\u044a\u0449\u043e \u0442\u0430\u043a\u0430 \u0442\u043e\u0437\u0438 \u043a\u043e\u0434 \u201e\/wp-content\/mu-plugins\/nginx.php\u201c \u043d\u044f\u043c\u0430 \u0434\u0430 \u0431\u044a\u0434\u0435 \u0434\u0435\u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d. \u0417\u0430 \u0434\u0430 \u0438\u043c\u0430\u0442\u0435 \u0444\u0438\u043b\u0442\u044a\u0440 &#8216;__return_true&#8217;, \u0449\u0435 \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 WordPress \u043f\u043e-\u0432\u0438\u0441\u043e\u043a\u0430 \u043e\u0442 3.0. <\/p>\n<h2>WordPress Multisite Subdirectory rules<\/h2>\n<p> &#8216;global\/wordpress.conf&#8217; <\/p>\n<blockquote><p># WordPress multisite subdirectory rules. # Designed to be included in any server {} block.<br \/>\nThis order might seem weird &#8211; this is attempted to match last if rules below fail.<\/p>\n<p>location \/ {<br \/>\ntry_files $uri $uri\/ \/index.php?$args;<br \/>\n}<\/p>\n<p>Directives to send expires headers and turn off 404 error logging.<\/p>\n<p>location ~* .(js|css|png|jpg|jpeg|gif|ico)$ {<br \/>\nexpires 24h;<br \/>\nlog_not_found off;<br \/>\n}<\/p>\n<p>location ~ ^\/[_0-9a-zA-Z-]+\/files\/(.*)$ {<br \/>\ntry_files \/wp-content\/blogs.dir\/$blogid\/files\/$2 \/wp-includes\/ms-files.php?file=$2 ;<br \/>\naccess_log off; log_not_found off; expires max;<br \/>\n}<\/p>\n<p>#avoid php readfile()<br \/>\nlocation ^~ \/blogs.dir {<br \/>\ninternal;<br \/>\nalias \/var\/www\/example.com\/htdocs\/wp-content\/blogs.dir ;<br \/>\naccess_log off; log_not_found off; expires max;<br \/>\n}<\/p>\n<p>Uncomment one of the lines below for the appropriate caching plugin (if used).<\/p>\n<p>#include global\/wordpress-ms-subdir-wp-super-cache.conf;<br \/>\n#include global\/wordpress-ms-subdir-w3-total-cache.conf;<\/p>\n<p>Rewrite multisite &#8216;&#8230;\/wp-.&#8217; and &#8216;&#8230;\/.php&#8217;.<\/p>\n<p>if (!-e $request_filename) {<br \/>\nrewrite \/wp-admin$ $scheme:\/\/$host$uri\/ permanent;<br \/>\nrewrite ^\/[_0-9a-zA-Z-]+(\/wp-.) $1 last;<br \/>\nrewrite ^\/[_0-9a-zA-Z-]+(\/..php)$ $1 last;<br \/>\n}<\/p>\n<p>Pass all .php files onto a php-fpm\/php-fcgi server.<\/p>\n<p>location ~ .php$ {<\/p>\n<p>Zero-day exploit defense.<br \/>\nhttp:\/\/forum.nginx.org\/read.php?2,88845,page=3<br \/>\nWon&#8217;t work properly (404 error) if the file is not stored on this server, which is entirely possible with php-fpm\/php-fcgi.<br \/>\nComment the &#8216;try_files&#8217; line out if you set up php-fpm\/php-fcgi on another machine. And then cross your fingers that you won&#8217;t get hacked.<\/p>\n<p>try_files $uri =404;<\/p>\n<p>fastcgi_split_path_info ^(.+.php)(\/.+)$;<br \/>\n#NOTE: You should have &#8222;cgi.fix_pathinfo = 0;&#8220; in php.ini<\/p>\n<p>include fastcgi_params;<br \/>\nfastcgi_index index.php;<br \/>\nfastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<\/p>\n<p>fastcgi_intercept_errors on;<\/p>\n<p>fastcgi_pass php;<br \/>\n}<\/p><\/blockquote>\n<h2>WP Super Cache Rules<\/h2>\n<blockquote><p># WP Super Cache rules. # Designed to be included from a &#8216;wordpress-ms-&#8230;&#8217; configuration file.<\/p>\n<p>set $cache_uri $request_uri;<\/p>\n<p>POST requests and urls with a query string should always go to PHP<\/p>\n<p>if ($request_method = POST) {<br \/>\nset $cache_uri &#8216;null cache&#8217;;<br \/>\n}<\/p>\n<p>if ($query_string != &#8222;&#8220;) {<br \/>\nset $cache_uri &#8216;null cache&#8217;;<br \/>\n}<\/p>\n<p>Don&#8217;t cache uris containing the following segments<\/p>\n<p>if ($request_uri ~* &#8222;(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register|mail).php|wp-.*.php|\/feed\/|index.php|wp-comments-popup.php|wp-links-opml.php|wp-locations.php|sitemap(index)?.xml|[a-z0-9-]+-sitemap([0-9]+)?.xml)&#8220;) {<br \/>\nset $cache_uri &#8216;null cache&#8217;;<br \/>\n}<\/p>\n<p>Don&#8217;t use the cache for logged in users or recent commenters<\/p>\n<p>if ($http_cookie ~* &#8222;comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_logged_in&#8220;) {<br \/>\nset $cache_uri &#8216;null cache&#8217;;<br \/>\n}<\/p>\n<p>START MOBILE<br \/>\nMobile browsers section to server them non-cached version. COMMENTED by default as most modern wordpress themes including twenty-eleven are responsive. Uncomment config lines in this section if you want to use a plugin like WP-Touch<br \/>\nif ($http_x_wap_profile) {<br \/>\nset $cache_uri &#8216;null cache&#8217;;<\/p>\n<p>#}<\/p>\n<p>#if ($http_profile) {<\/p>\n<p>set $cache_uri &#8216;null cache&#8217;;<\/p>\n<p>#}<\/p>\n<p>#if ($http_user_agent ~* (2.0\\ MMP|240&#215;320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine\/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA\/WX310K|LG\/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\\ Wii|Nitro|Nokia|Opera\\ Mini|Palm|PlayStation\\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\\ CE|WinWAP|YahooSeeker\/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\\ Obigo|LGE\\ VX|webOS|Nokia5800)) {<\/p>\n<p>set $cache_uri &#8216;null cache&#8217;;<\/p>\n<p>#}<\/p>\n<p>#if ($http_user_agent ~* (w3c\\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg\/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\\ |xda-)) {<\/p>\n<p>set $cache_uri &#8216;null cache&#8217;;<\/p>\n<p>#}<br \/>\n#END MOBILE<\/p>\n<p>Use cached or actual file if they exists, otherwise pass request to WordPress<\/p>\n<p>location \/ {<br \/>\ntry_files \/wp-content\/cache\/supercache\/$http_host\/$cache_uri\/index.html $uri $uri\/ \/index.php?$args ;<br \/>\n}<\/p><\/blockquote>\n<p>\u0410\u043a\u043e \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 HTTPS, WordPress Super Cache \u043c\u043e\u0436\u0435 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f, \u0437\u0430 \u0434\u0430 \u043f\u0440\u0430\u0432\u0438 \u0440\u0430\u0437\u043b\u0438\u043a\u0430 \u043c\u0435\u0436\u0434\u0443 HTTP \u0438 HTTPS.<\/p>\n<blockquote><p>location \/ { try_files \/wp-content\/cache\/supercache\/$http_host\/$scheme$cache_uri\/index.html $uri $uri\/ \/index.php?$args ; }<\/p><\/blockquote>\n<h2>W3 Total Cache Rules<\/h2>\n<p> \u0422\u0440\u0435\u0442\u0430\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 WordPress \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043d\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438\u0442\u0435 \u0441\u0430\u043c\u043e \u0437\u0430 \u043a\u0435\u0448\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0434\u0438\u0441\u043a\u0430. \u0422\u043e\u0432\u0430 \u0441\u044a\u0449\u043e \u0437\u0430\u0432\u0438\u0441\u0438 \u043e\u0442 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u0442\u0430, \u043a\u043e\u044f\u0442\u043e \u0441\u0442\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u0438\u043b\u0438. <\/p>\n<blockquote><p>#W3 TOTAL CACHE CHECK set $cache_uri $request_uri;<br \/>\nPOST requests and urls with a query string should always go to PHP<\/p>\n<p>if ($request_method = POST) {<br \/>\nset $cache_uri &#8216;null cache&#8217;;<br \/>\n}<br \/>\nif ($query_string != &#8222;&#8220;) {<br \/>\nset $cache_uri &#8216;null cache&#8217;;<br \/>\n}<\/p>\n<p>Don&#8217;t cache uris containing the following segments<\/p>\n<p>if ($request_uri ~* &#8222;(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register|mail).php|wp-.*.php|\/feed\/|index.php|wp-comments-popup.php|wp-links-opml.php|wp-locations.php|sitemap(index)?.xml|[a-z0-9-]+-sitemap([0-9]+)?.xml)&#8220;) {<br \/>\nset $cache_uri &#8216;null cache&#8217;;<br \/>\n}<\/p>\n<p>Don&#8217;t use the cache for logged in users or recent commenters<\/p>\n<p>if ($http_cookie ~* &#8222;comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_logged_in&#8220;) {<br \/>\nset $cache_uri &#8216;null cache&#8217;;<br \/>\n}<br \/>\n#ADD mobile rules from WP SUPER CACHE section above<\/p>\n<p>#APPEND A CODE BLOCK FROM BELOW&#8230;<\/p><\/blockquote>\n<h2>FOR Normal WordPress (without Multisite)<\/h2>\n<blockquote><p> # Use cached or actual file if they exists, otherwise pass request to WordPress location \/ { try_files \/wp-content\/w3tc\/pgcache\/$cache_uri\/_index.html $uri $uri\/ \/index.php?$args ; }<\/p><\/blockquote>\n<h2>FOR Multisite with subdirectories<\/h2>\n<blockquote><p>if ($request_uri ~* &#8222;^\/([_0-9a-zA-Z-]+)\/.*&#8220; ){ set $blog $1; }<\/p>\n<p>set $blog &#8222;${blog}.&#8220;;<\/p>\n<p>if ( $blog = &#8222;blog.&#8220; ){<br \/>\nset $blog &#8222;&#8220;;<br \/>\n}<\/p>\n<p>Use cached or actual file if they exists, otherwise pass request to WordPress<\/p>\n<p>location \/ {<br \/>\ntry_files \/wp-content\/w3tc-$blog$host\/pgcache$cache_uri\/_index.html $uri $uri\/ \/index.php?$args ;<br \/>\n}<\/p><\/blockquote>\n<h2>FOR Multisite with Subdomains\/Domain-mapping<\/h2>\n<blockquote><p>location \/ { try_files \/wp-content\/w3tc-$host\/pgcache\/$cache_uri\/_index.html $uri $uri\/ \/index.php?$args; }<\/p><\/blockquote>\n<p> \u0412\u0430\u0436\u043d\u043e \u0435 \u0434\u0430 \u0437\u043d\u0430\u0435\u0442\u0435 \u0441\u043b\u0435\u0434\u043d\u043e\u0442\u043e:<\/p>\n<p>Nginx \u043c\u043e\u0436\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u0434\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0432\u0430 gzip \u0438 \u043a\u0435\u0448\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u044a\u0440\u0430, \u0442\u0430\u043a\u0430 \u0447\u0435 \u0435 \u043f\u043e-\u0434\u043e\u0431\u0440\u0435 \u0434\u0430 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u0435 \u0442\u0430\u0437\u0438 \u0447\u0430\u0441\u0442 \u043d\u0430 nginx.<br \/>\nMinify \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u0442\u0430 \u043d\u0430 W3 Total Cache \u0449\u0435 \u0440\u0430\u0431\u043e\u0442\u044f\u0442 \u0441 \u0433\u043e\u0440\u043d\u0430\u0442\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0431\u0435\u0437 \u043d\u0438\u043a\u0430\u043a\u0432\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438.<\/p>\n<h2>Nginx fastcgi_cache<\/h2>\n<p> Nginx \u0438\u0437\u0432\u044a\u0440\u0448\u0432\u0430 \u043a\u0435\u0448\u0438\u0440\u0430\u043d\u0435 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u043d\u043e. \u041d\u043e \u043a\u043e\u0433\u0430\u0442\u043e \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0432\u0433\u0440\u0430\u0434\u0435\u043d\u0438\u044f fastcgi_cache \u043d\u0430 Nginx, \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0430\u0442\u0435 Nginx \u0441 fastcgi_cache_purge.<\/p>\n<p>\u0415\u0442\u043e \u043a\u0430\u043a \u0449\u0435 \u0438\u0437\u0433\u043b\u0435\u0436\u0434\u0430 \u0442\u0430\u0437\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f.<\/p>\n<p><strong>\u0414\u0435\u0444\u0438\u043d\u0438\u0440\u0430\u0439\u0442\u0435 Nginx cache \u0437\u043e\u043d\u0430 \u0432 \u0431\u043b\u043e\u043a\u0430 http{&#8230;}, \u0438\u0437\u0432\u044a\u043d \u0431\u043b\u043e\u043a\u0430 server{&#8230;}<\/strong><\/p>\n<blockquote><p>#move next 3 lines to \/etc\/nginx\/nginx.conf if you want to use fastcgi_cache across many sites fastcgi_cache_path \/var\/run\/nginx-cache levels=1:2 keys_zone=WORDPRESS:500m inactive=60m; fastcgi_cache_key &#8222;$scheme$request_method$host$request_uri&#8220;; fastcgi_cache_use_stale error timeout invalid_header http_500;<\/p><\/blockquote>\n<p> <strong>\u0438\u043b\u0438 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u0442\u0430 \u043d\u0430 WordPress \u0441\u0430\u0439\u0442\u0430, \u0432 \u0431\u043b\u043e\u043a\u0430 server{..} \u0434\u043e\u0431\u0430\u0432\u0435\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0437\u0430 \u043a\u0435\u0448, \u043a\u0430\u043a\u0442\u043e \u0441\u043b\u0435\u0434\u0432\u0430<\/strong> <\/p>\n<blockquote><p>#fastcgi_cache start set $no_cache 0;<br \/>\nPOST requests and urls with a query string should always go to PHP<\/p>\n<p>if ($request_method = POST) {<br \/>\nset $no_cache 1;<br \/>\n}<br \/>\nif ($query_string != &#8222;&#8220;) {<br \/>\nset $no_cache 1;<br \/>\n}<\/p>\n<p>Don&#8217;t cache uris containing the following segments<\/p>\n<p>if ($request_uri ~* &#8222;(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register|mail).php|wp-.*.php|\/feed\/|index.php|wp-comments-popup.php|wp-links-opml.php|wp-locations.php|sitemap(index)?.xml|[a-z0-9-]+-sitemap([0-9]+)?.xml)&#8220;) {<br \/>\nset $no_cache 1;<br \/>\n}<\/p>\n<p>Don&#8217;t use the cache for logged in users or recent commenters<\/p>\n<p>if ($http_cookie ~* &#8222;comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in&#8220;) {<br \/>\nset $no_cache 1;<br \/>\n}<\/p><\/blockquote>\n<p><strong>\u0421\u043b\u0435\u0434 \u0442\u043e\u0432\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u0435\u0442\u0435 \u043f\u0440\u043e\u043c\u0435\u043d\u0438 \u0432 \u0431\u043b\u043e\u043a\u0430 \u0437\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043d\u0430 PHP<\/strong><\/p>\n<blockquote><p>fastcgi_cache_bypass $no_cache; fastcgi_no_cache $no_cache;<\/p>\n<p>fastcgi_cache WORDPRESS;<br \/>\nfastcgi_cache_valid 200 60m;<\/p><\/blockquote>\n<p><strong>\u0417\u0430 \u0434\u0430 \u0441\u0442\u0430\u043d\u0435 \u043d\u0435\u0449\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e \u043d\u0430 \u0442\u043e\u0432\u0430<\/strong><\/p>\n<blockquote><p>location ~ [^\/]\\.php(\/|$) { fastcgi_split_path_info ^(.+?\\.php)(\/.*)$; if (!-f $document_root$fastcgi_script_name) { return 404; } # This is a robust solution for path info security issue and works with &#8222;cgi.fix_pathinfo = 1&#8220; in \/etc\/php.ini (default)<\/p>\n<p>include fastcgi.conf;<br \/>\nfastcgi_index index.php;<\/p>\n<p>fastcgi_intercept_errors on;<\/p>\n<p>fastcgi_pass php;<\/p>\n<p>fastcgi_cache_bypass $no_cache;<br \/>\nfastcgi_no_cache $no_cache;<\/p>\n<p>fastcgi_cache WORDPRESS;<br \/>\nfastcgi_cache_valid 200 60m;<br \/>\n}<\/p><\/blockquote>\n<p><strong>\u041d\u0430\u043a\u0440\u0430\u044f \u0434\u043e\u0431\u0430\u0432\u0435\u0442\u0435 location \u0437\u0430 \u0443\u0441\u043b\u043e\u0432\u043d\u043e \u0438\u0437\u0447\u0438\u0441\u0442\u0432\u0430\u043d\u0435 (purge)<\/strong><\/p>\n<blockquote><p>location ~ \/purge(\/.*) { # Uncomment the following two lines to allow purge only from the webserver #allow 127.0.0.1; #deny all;<\/p>\n<p>fastcgi_cache_purge WORDPRESS &#8222;$scheme$request_method$host$1&#8220;;<br \/>\n}<\/p><\/blockquote>\n<p>\u041f\u043e-\u0434\u043e\u0431\u0440\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u043d\u043e\u0441\u0442 \u0437\u0430 \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u0435 \u0432 Multisite<\/p>\n<p>\u0417\u0430 \u043f\u043e-\u0434\u043e\u0431\u0440\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u043d\u043e\u0441\u0442 \u043d\u0430 Nginx \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0430\u0439\u0442\u0435<\/p>\n<p><strong>\u0422\u043e\u0432\u0430:<\/strong><\/p>\n<blockquote><p>map $http_host $blogid { default 0;<\/p>\n<p>example.com 1;<br \/>\nsite1.example.com 2;<br \/>\nsite1.com 2;<br \/>\n}<\/p><\/blockquote>\n<p><strong>\u041a\u044a\u043c \u0442\u043e\u0432\u0430:<\/strong><\/p>\n<blockquote><p>map $http_host $blogid { default 0;<\/p>\n<p>include \/path\/to\/map.conf ;<br \/>\n}<\/p><\/blockquote>\n<p><strong>\u0418 \u0441\u044a\u0437\u0434\u0430\u0439\u0442\u0435:<\/strong><\/p>\n<blockquote><p>location ~ ^\/files\/(.*)$ { try_files \/wp-content\/blogs.dir\/$blogid\/$uri \/wp-includes\/ms-files.php?file=$1 ; access_log off; log_not_found off; expires max; }<\/p><\/blockquote>\n<p> <strong>\u0411\u0435\u043b\u0435\u0436\u043a\u0438:<\/strong> <\/p>\n<ul>\n<li>Nginx \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u0449\u0435 \u043a\u0430\u0440\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0440\u0430 \u043f\u0440\u0438 \u0432\u0441\u044f\u043a\u043e \u0438\u0437\u0442\u0440\u0438\u0432\u0430\u043d\u0435 \u0438\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u044f\u043d\u0435 \u043d\u0430 \u0441\u0430\u0439\u0442.<\/li>\n<li>\u0421 \u0442\u043e\u0437\u0438 \u043c\u0435\u0442\u043e\u0434 \u043d\u044f\u043c\u0430 \u0434\u0430 \u0438\u043c\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438 \u0441\u044a\u0441 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u0438 \u0438\u0437\u0442\u0440\u0438\u0432\u0430\u043d\u0438\u044f.<\/li>\n<li>\u0418\u0434\u0435\u0430\u043b\u043d\u043e \u0437\u0430 \u043f\u043e-\u0433\u043e\u043b\u0435\u043c\u0438 \u043c\u0440\u0435\u0436\u0438.<\/li>\n<\/ul>\n<p> \u0422\u0430\u0437\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0441\u0435 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430, \u043a\u043e\u0433\u0430\u0442\u043e \u043a\u043e\u0440\u0435\u043d\u044a\u0442 \u043d\u0430 \u0441\u0430\u0439\u0442\u0430 \u0435 \u0431\u043b\u043e\u0433. \u0410\u043a\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u0435 \u0442\u043e\u0437\u0438 \u0431\u043b\u043e\u0433 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f, \u0449\u0435 \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u043f\u0440\u043e\u043c\u0435\u043d\u0438\u0442\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u0442\u0430.<\/p>\n<p>\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439\u043a\u0438 \u0442\u043e\u0432\u0430:<\/p>\n<blockquote><p>set $wp_subdir &#8222;\/blog&#8220;;<\/p><\/blockquote>\n<p> <strong>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435<\/strong> \u0417\u0430 \u0434\u0430 \u0442\u0435\u0441\u0442\u0432\u0430\u0442\u0435 \u0434\u0430\u043b\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f\u0442\u0430 \u201euploads\u201c \u0435 \u043d\u0430\u0438\u0441\u0442\u0438\u043d\u0430 \u0437\u0430\u0449\u0438\u0442\u0435\u043d\u0430, \u0441\u044a\u0437\u0434\u0430\u0439\u0442\u0435 PHP \u0444\u0430\u0439\u043b \u0441 \u043d\u044f\u043a\u0430\u043a\u0432\u043e \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435 (\u043f\u0440\u0438\u043c\u0435\u0440: &lt;?php phpinfo(); ?&gt;), \u043a\u0430\u0447\u0435\u0442\u0435 \u0433\u043e \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f\u0442\u0430 \u201euploads\u201c (\u0438\u043b\u0438 \u043d\u044f\u043a\u043e\u044f \u043e\u0442 \u043d\u0435\u0439\u043d\u0438\u0442\u0435 \u043f\u043e\u0434\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438), \u0441\u043b\u0435\u0434 \u043a\u043e\u0435\u0442\u043e \u0441\u0435 \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u0434\u0430 \u0433\u043e \u0434\u043e\u0441\u0442\u044a\u043f\u0438\u0442\u0435 (\u0438\u0437\u043f\u044a\u043b\u043d\u0438\u0442\u0435) \u043f\u0440\u0435\u0437 \u0431\u0440\u0430\u0443\u0437\u044a\u0440\u0430.<\/p>\n<p>Resource: <a title=\"WordPress.org\" href=\"https:\/\/codex.wordpress.org\/Nginx\" target=\"_blank\" rel=\"noopener\">https:\/\/codex.wordpress.org\/Nginx<br \/>\n<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430\u0441\u043a\u043e\u0440\u043e \u0437\u0430\u0431\u0435\u043b\u044f\u0437\u0430\u0445\u043c\u0435, \u0447\u0435 \u043c\u043d\u043e\u0433\u043e \u0445\u043e\u0440\u0430 \u043f\u0440\u0435\u043c\u0438\u043d\u0430\u0432\u0430\u0442 \u043e\u0442 Apache \u043a\u044a\u043c Nginx, \u0437\u0430 \u0434\u0430 \u0437\u0430\u0445\u0440\u0430\u043d\u0432\u0430\u0442 \u0441\u0432\u043e\u044f WordPress \u0441\u0430\u0439\u0442. \u0412 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f \u0433\u043e\u0432\u043e\u0440\u0438\u0445\u043c\u0435 \u0437\u0430 \u043f\u0440\u0435\u0434\u0438\u043c\u0441\u0442\u0432\u0430\u0442\u0430 \u043d\u0430 Nginx, \u0430 \u0441\u0435\u0433\u0430 \u0449\u0435 \u0432\u0438 \u0434\u0430\u0434\u0435\u043c \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u044a\u0432\u0435\u0442\u0430 \u043a\u0430\u043a \u0434\u0430 \u043f\u0440\u0435\u043c\u0438\u043d\u0435\u0442\u0435 \u043a\u044a\u043c Nginx \u043e\u0442 Apache. \u041f\u0440\u0435\u0434\u0438 \u0434\u0430 \u0437\u0430\u043f\u043e\u0447\u043d\u0435\u043c, \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0432\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0438\u0440\u0430\u043c\u0435, \u0447\u0435 \u0442\u043e\u0432\u0430 \u0435 \u0442\u0435\u0441\u0442\u0432\u0430\u043d\u043e \u043d\u0430: Arch Linux 64 bit (Nginx [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5596,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[537,539],"tags":[629,585,528,875,873],"class_list":["post-5592","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cms","category-nginx-hosting","tag-untranslated_content_startw3-total-cacheuntranslated_content_end","tag-nginx","tag-wordpress","tag-blogove","tag-konfiguracziya-na-nginx"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 Nginx \u0437\u0430 WordPress<\/title>\n<meta name=\"description\" content=\"\u0421\u0435\u0433\u0430 \u0432 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u0445\u043c\u0435 \u043f\u0440\u0435\u0434\u0438\u043c\u0441\u0442\u0432\u0430\u0442\u0430 \u043d\u0430 Nginx, \u0441\u0435\u0433\u0430 \u0449\u0435 \u0432\u0438 \u0434\u0430\u0434\u0435\u043c \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u044a\u0432\u0435\u0442\u0430 \u043a\u0430\u043a \u0434\u0430 \u043f\u0440\u0435\u043c\u0438\u043d\u0435\u0442\u0435 \u043a\u044a\u043c Nginx \u043e\u0442 Apache.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"bg_BG\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 Nginx \u0437\u0430 WordPress\" \/>\n<meta property=\"og:description\" content=\"\u0412 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u0445\u043c\u0435 \u043f\u0440\u0435\u0434\u0438\u043c\u0441\u0442\u0432\u0430\u0442\u0430 \u043d\u0430 Nginx, \u0441\u0435\u0433\u0430 \u0449\u0435 \u0432\u0438 \u0434\u0430\u0434\u0435\u043c \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u044a\u0432\u0435\u0442\u0430 \u043a\u0430\u043a \u0434\u0430 \u043f\u0440\u0435\u043c\u0438\u043d\u0435\u0442\u0435 \u043a\u044a\u043c Nginx \u043e\u0442 Apache.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"CooliceHost.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/CooliceHost\" \/>\n<meta property=\"article:published_time\" content=\"2015-04-20T17:01:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/wordpress-nginx.jpg\" \/>\n<meta name=\"author\" content=\"Banko Stoyanov\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 Nginx \u0437\u0430 WordPress\" \/>\n<meta name=\"twitter:description\" content=\"\u0412 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u0445\u043c\u0435 \u043f\u0440\u0435\u0434\u0438\u043c\u0441\u0442\u0432\u0430\u0442\u0430 \u043d\u0430 Nginx, \u0441\u0435\u0433\u0430 \u0449\u0435 \u0432\u0438 \u0434\u0430\u0434\u0435\u043c \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u044a\u0432\u0435\u0442\u0430 \u043a\u0430\u043a \u0434\u0430 \u043f\u0440\u0435\u043c\u0438\u043d\u0435\u0442\u0435 \u043a\u044a\u043c Nginx \u043e\u0442 Apache.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/wordpress-nginx.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@CooliceHosting\" \/>\n<meta name=\"twitter:site\" content=\"@CooliceHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Banko Stoyanov\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 \u043c\u0438\u043d\u0443\u0442\u0438\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/izpolzvane-na-nginx-za-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/izpolzvane-na-nginx-za-wordpress\\\/\"},\"author\":{\"name\":\"Banko Stoyanov\",\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/#\\\/schema\\\/person\\\/b70aa35c7be6c024c5081416409f40e3\"},\"headline\":\"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 Nginx \u0437\u0430 WordPress\",\"datePublished\":\"2015-04-20T17:01:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/izpolzvane-na-nginx-za-wordpress\\\/\"},\"wordCount\":2301,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/izpolzvane-na-nginx-za-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.coolicehost.com\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/wordpress-nginx.jpg\",\"keywords\":[\"|||UNTRANSLATED_CONTENT_START|||W3 Total Cache|||UNTRANSLATED_CONTENT_END|||\",\"NGINX\",\"WordPress\",\"\u0431\u043b\u043e\u0433\u043e\u0432\u0435\",\"\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u043d\u0430 Nginx\"],\"articleSection\":[\"CMSs\",\"Nginx \u0445\u043e\u0441\u0442\u0438\u043d\u0433\"],\"inLanguage\":\"bg-BG\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/izpolzvane-na-nginx-za-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/izpolzvane-na-nginx-za-wordpress\\\/\",\"url\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/izpolzvane-na-nginx-za-wordpress\\\/\",\"name\":\"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 Nginx \u0437\u0430 WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/izpolzvane-na-nginx-za-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/izpolzvane-na-nginx-za-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.coolicehost.com\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/wordpress-nginx.jpg\",\"datePublished\":\"2015-04-20T17:01:51+00:00\",\"description\":\"\u0421\u0435\u0433\u0430 \u0432 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u0445\u043c\u0435 \u043f\u0440\u0435\u0434\u0438\u043c\u0441\u0442\u0432\u0430\u0442\u0430 \u043d\u0430 Nginx, \u0441\u0435\u0433\u0430 \u0449\u0435 \u0432\u0438 \u0434\u0430\u0434\u0435\u043c \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u044a\u0432\u0435\u0442\u0430 \u043a\u0430\u043a \u0434\u0430 \u043f\u0440\u0435\u043c\u0438\u043d\u0435\u0442\u0435 \u043a\u044a\u043c Nginx \u043e\u0442 Apache.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/izpolzvane-na-nginx-za-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"bg-BG\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/izpolzvane-na-nginx-za-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"bg-BG\",\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/izpolzvane-na-nginx-za-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.coolicehost.com\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/wordpress-nginx.jpg\",\"contentUrl\":\"https:\\\/\\\/blog.coolicehost.com\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/wordpress-nginx.jpg\",\"width\":320,\"height\":220,\"caption\":\"Wordpress Nginx\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/izpolzvane-na-nginx-za-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u041d\u0430\u0447\u0430\u043b\u043e\",\"item\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 Nginx \u0437\u0430 WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/#website\",\"url\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/\",\"name\":\"CooliceHost.com\",\"description\":\"Corporate Hosting Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"bg-BG\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/#organization\",\"name\":\"CooliceHost.com\",\"url\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"bg-BG\",\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/blog.coolicehost.com\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/coolice-logo.png\",\"contentUrl\":\"https:\\\/\\\/blog.coolicehost.com\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/coolice-logo.png\",\"width\":197,\"height\":43,\"caption\":\"CooliceHost.com\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/CooliceHost\",\"https:\\\/\\\/x.com\\\/CooliceHosting\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/coolicehost\",\"https:\\\/\\\/www.pinterest.com\\\/blinky82\\\/coolicehostcom\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/#\\\/schema\\\/person\\\/b70aa35c7be6c024c5081416409f40e3\",\"name\":\"Banko Stoyanov\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"bg-BG\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cfdd2c7599ac6e45a15e6d55388d34076eef2af0562cde40ad02281a50bbe4a7?s=96&d=https%3A%2F%2Fblog.coolicehost.com%2Fwp-content%2Fuploads%2F2024%2F09%2F1516608530069-160x160.jpeg&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cfdd2c7599ac6e45a15e6d55388d34076eef2af0562cde40ad02281a50bbe4a7?s=96&d=https%3A%2F%2Fblog.coolicehost.com%2Fwp-content%2Fuploads%2F2024%2F09%2F1516608530069-160x160.jpeg&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cfdd2c7599ac6e45a15e6d55388d34076eef2af0562cde40ad02281a50bbe4a7?s=96&d=https%3A%2F%2Fblog.coolicehost.com%2Fwp-content%2Fuploads%2F2024%2F09%2F1516608530069-160x160.jpeg&r=g\",\"caption\":\"Banko Stoyanov\"},\"description\":\"This blogpost is written by Banko Stoyanov. Stoyanov is a Marketing manager at CooliceHost. Stoyanov holds an MBA in Marketing strategy and Business developing. He's passionate about data analysis, consumer behavior, cloud technology, and marketing. He is a lifelong learner who regularly keeps himself updated with the latest technologies and industry advancements. In his free time, he explores coffee scene and stays active through running and fitness. Find him on Linkedin and Facebook.\",\"sameAs\":[\"https:\\\/\\\/coolicehost.com\"],\"url\":\"https:\\\/\\\/blog.coolicehost.com\\\/bg\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 Nginx \u0437\u0430 WordPress","description":"\u0421\u0435\u0433\u0430 \u0432 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u0445\u043c\u0435 \u043f\u0440\u0435\u0434\u0438\u043c\u0441\u0442\u0432\u0430\u0442\u0430 \u043d\u0430 Nginx, \u0441\u0435\u0433\u0430 \u0449\u0435 \u0432\u0438 \u0434\u0430\u0434\u0435\u043c \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u044a\u0432\u0435\u0442\u0430 \u043a\u0430\u043a \u0434\u0430 \u043f\u0440\u0435\u043c\u0438\u043d\u0435\u0442\u0435 \u043a\u044a\u043c Nginx \u043e\u0442 Apache.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/","og_locale":"bg_BG","og_type":"article","og_title":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 Nginx \u0437\u0430 WordPress","og_description":"\u0412 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u0445\u043c\u0435 \u043f\u0440\u0435\u0434\u0438\u043c\u0441\u0442\u0432\u0430\u0442\u0430 \u043d\u0430 Nginx, \u0441\u0435\u0433\u0430 \u0449\u0435 \u0432\u0438 \u0434\u0430\u0434\u0435\u043c \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u044a\u0432\u0435\u0442\u0430 \u043a\u0430\u043a \u0434\u0430 \u043f\u0440\u0435\u043c\u0438\u043d\u0435\u0442\u0435 \u043a\u044a\u043c Nginx \u043e\u0442 Apache.","og_url":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/","og_site_name":"CooliceHost.com","article_publisher":"https:\/\/www.facebook.com\/CooliceHost","article_published_time":"2015-04-20T17:01:51+00:00","og_image":[{"url":"https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/wordpress-nginx.jpg","type":"","width":"","height":""}],"author":"Banko Stoyanov","twitter_card":"summary_large_image","twitter_title":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 Nginx \u0437\u0430 WordPress","twitter_description":"\u0412 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u0445\u043c\u0435 \u043f\u0440\u0435\u0434\u0438\u043c\u0441\u0442\u0432\u0430\u0442\u0430 \u043d\u0430 Nginx, \u0441\u0435\u0433\u0430 \u0449\u0435 \u0432\u0438 \u0434\u0430\u0434\u0435\u043c \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u044a\u0432\u0435\u0442\u0430 \u043a\u0430\u043a \u0434\u0430 \u043f\u0440\u0435\u043c\u0438\u043d\u0435\u0442\u0435 \u043a\u044a\u043c Nginx \u043e\u0442 Apache.","twitter_image":"https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/wordpress-nginx.jpg","twitter_creator":"@CooliceHosting","twitter_site":"@CooliceHosting","twitter_misc":{"Written by":"Banko Stoyanov","Est. reading time":"9 \u043c\u0438\u043d\u0443\u0442\u0438"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/#article","isPartOf":{"@id":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/"},"author":{"name":"Banko Stoyanov","@id":"https:\/\/blog.coolicehost.com\/bg\/#\/schema\/person\/b70aa35c7be6c024c5081416409f40e3"},"headline":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 Nginx \u0437\u0430 WordPress","datePublished":"2015-04-20T17:01:51+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/"},"wordCount":2301,"commentCount":0,"publisher":{"@id":"https:\/\/blog.coolicehost.com\/bg\/#organization"},"image":{"@id":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/wordpress-nginx.jpg","keywords":["|||UNTRANSLATED_CONTENT_START|||W3 Total Cache|||UNTRANSLATED_CONTENT_END|||","NGINX","WordPress","\u0431\u043b\u043e\u0433\u043e\u0432\u0435","\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u043d\u0430 Nginx"],"articleSection":["CMSs","Nginx \u0445\u043e\u0441\u0442\u0438\u043d\u0433"],"inLanguage":"bg-BG","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/","url":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/","name":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 Nginx \u0437\u0430 WordPress","isPartOf":{"@id":"https:\/\/blog.coolicehost.com\/bg\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/wordpress-nginx.jpg","datePublished":"2015-04-20T17:01:51+00:00","description":"\u0421\u0435\u0433\u0430 \u0432 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u0445\u043c\u0435 \u043f\u0440\u0435\u0434\u0438\u043c\u0441\u0442\u0432\u0430\u0442\u0430 \u043d\u0430 Nginx, \u0441\u0435\u0433\u0430 \u0449\u0435 \u0432\u0438 \u0434\u0430\u0434\u0435\u043c \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u044a\u0432\u0435\u0442\u0430 \u043a\u0430\u043a \u0434\u0430 \u043f\u0440\u0435\u043c\u0438\u043d\u0435\u0442\u0435 \u043a\u044a\u043c Nginx \u043e\u0442 Apache.","breadcrumb":{"@id":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/#breadcrumb"},"inLanguage":"bg-BG","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"bg-BG","@id":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/#primaryimage","url":"https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/wordpress-nginx.jpg","contentUrl":"https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/wordpress-nginx.jpg","width":320,"height":220,"caption":"Wordpress Nginx"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.coolicehost.com\/bg\/izpolzvane-na-nginx-za-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u041d\u0430\u0447\u0430\u043b\u043e","item":"https:\/\/blog.coolicehost.com\/bg\/"},{"@type":"ListItem","position":2,"name":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 Nginx \u0437\u0430 WordPress"}]},{"@type":"WebSite","@id":"https:\/\/blog.coolicehost.com\/bg\/#website","url":"https:\/\/blog.coolicehost.com\/bg\/","name":"CooliceHost.com","description":"Corporate Hosting Blog","publisher":{"@id":"https:\/\/blog.coolicehost.com\/bg\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.coolicehost.com\/bg\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"bg-BG"},{"@type":"Organization","@id":"https:\/\/blog.coolicehost.com\/bg\/#organization","name":"CooliceHost.com","url":"https:\/\/blog.coolicehost.com\/bg\/","logo":{"@type":"ImageObject","inLanguage":"bg-BG","@id":"https:\/\/blog.coolicehost.com\/bg\/#\/schema\/logo\/image\/","url":"https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/coolice-logo.png","contentUrl":"https:\/\/blog.coolicehost.com\/wp-content\/uploads\/2015\/04\/coolice-logo.png","width":197,"height":43,"caption":"CooliceHost.com"},"image":{"@id":"https:\/\/blog.coolicehost.com\/bg\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/CooliceHost","https:\/\/x.com\/CooliceHosting","https:\/\/www.linkedin.com\/company\/coolicehost","https:\/\/www.pinterest.com\/blinky82\/coolicehostcom\/"]},{"@type":"Person","@id":"https:\/\/blog.coolicehost.com\/bg\/#\/schema\/person\/b70aa35c7be6c024c5081416409f40e3","name":"Banko Stoyanov","image":{"@type":"ImageObject","inLanguage":"bg-BG","@id":"https:\/\/secure.gravatar.com\/avatar\/cfdd2c7599ac6e45a15e6d55388d34076eef2af0562cde40ad02281a50bbe4a7?s=96&d=https%3A%2F%2Fblog.coolicehost.com%2Fwp-content%2Fuploads%2F2024%2F09%2F1516608530069-160x160.jpeg&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cfdd2c7599ac6e45a15e6d55388d34076eef2af0562cde40ad02281a50bbe4a7?s=96&d=https%3A%2F%2Fblog.coolicehost.com%2Fwp-content%2Fuploads%2F2024%2F09%2F1516608530069-160x160.jpeg&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cfdd2c7599ac6e45a15e6d55388d34076eef2af0562cde40ad02281a50bbe4a7?s=96&d=https%3A%2F%2Fblog.coolicehost.com%2Fwp-content%2Fuploads%2F2024%2F09%2F1516608530069-160x160.jpeg&r=g","caption":"Banko Stoyanov"},"description":"This blogpost is written by Banko Stoyanov. Stoyanov is a Marketing manager at CooliceHost. Stoyanov holds an MBA in Marketing strategy and Business developing. He's passionate about data analysis, consumer behavior, cloud technology, and marketing. He is a lifelong learner who regularly keeps himself updated with the latest technologies and industry advancements. In his free time, he explores coffee scene and stays active through running and fitness. Find him on Linkedin and Facebook.","sameAs":["https:\/\/coolicehost.com"],"url":"https:\/\/blog.coolicehost.com\/bg\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.coolicehost.com\/bg\/wp-json\/wp\/v2\/posts\/5592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.coolicehost.com\/bg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolicehost.com\/bg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolicehost.com\/bg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolicehost.com\/bg\/wp-json\/wp\/v2\/comments?post=5592"}],"version-history":[{"count":0,"href":"https:\/\/blog.coolicehost.com\/bg\/wp-json\/wp\/v2\/posts\/5592\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.coolicehost.com\/bg\/wp-json\/wp\/v2\/media\/5596"}],"wp:attachment":[{"href":"https:\/\/blog.coolicehost.com\/bg\/wp-json\/wp\/v2\/media?parent=5592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolicehost.com\/bg\/wp-json\/wp\/v2\/categories?post=5592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolicehost.com\/bg\/wp-json\/wp\/v2\/tags?post=5592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}