{"id":9069000,"date":"2017-04-26T08:49:02","date_gmt":"2017-04-26T08:49:02","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/folder-wont-created-nginx\/"},"modified":"2017-04-26T08:49:02","modified_gmt":"2017-04-26T08:49:02","slug":"folder-wont-created-nginx","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/folder-wont-created-nginx\/","title":{"rendered":"Folder won&#8217;t created. NGINX"},"content":{"rendered":"<p>Hi, <\/p>\n<p>I got a Problem with nginx. The Folder won&#8217;t created and no images where cached.<\/p>\n<p>Debug Info:<\/p>\n<pre><code>\u2714 PHP GD library is installed.\n\u2716 Image cache directory has not been created.\nBut this is probably because the cache has not been accessed yet. \nAfter accessing your website from a mobile device the directory should be automatically created.\n\n\/var\/sites\/studierenplus\/wp-content\/cache =&gt; drwxr-xr-x\n\u2714 Installation .htaccess file is setup OK.\n\/var\/sites\/studierenplus\/.htaccess =&gt; -rw-r--r--\n\u2756 Adaptive images settings dump:\narray(14) {\n  [&quot;resolutions&quot;]=&gt;\n  array(3) {\n    [0]=&gt;\n    int(1024)\n    [1]=&gt;\n    int(640)\n    [2]=&gt;\n    int(480)\n  }\n  [&quot;hidpi&quot;]=&gt;\n  bool(true)\n  [&quot;cache-directory&quot;]=&gt;\n  string(21) &quot;cache\/adaptive-images&quot;\n  [&quot;watched-directories&quot;]=&gt;\n  array(2) {\n    [0]=&gt;\n    string(18) &quot;wp-content\/uploads&quot;\n    [1]=&gt;\n    string(17) &quot;wp-content\/themes&quot;\n  }\n  [&quot;jpeg-quality&quot;]=&gt;\n  int(75)\n  [&quot;sharpen-images&quot;]=&gt;\n  bool(true)\n  [&quot;watch-cache&quot;]=&gt;\n  bool(true)\n  [&quot;browser-cache&quot;]=&gt;\n  float(180)\n  [&quot;landscape&quot;]=&gt;\n  bool(false)\n  [&quot;cdn-support&quot;]=&gt;\n  bool(false)\n  [&quot;version&quot;]=&gt;\n  string(6) &quot;0.6.62&quot;\n  [&quot;sanitized&quot;]=&gt;\n  bool(true)\n  [&quot;wp-content-dir&quot;]=&gt;\n  string(35) &quot;\/var\/sites\/studierenplus\/wp-content&quot;\n  [&quot;wp-content-url&quot;]=&gt;\n  string(39) &quot;https:\/\/www.studierenplus.de\/wp-content&quot;\n}<\/code><\/pre>\n<p>System Informations:<\/p>\n<pre><code>Web Server\t\nnginx\/1.10.0\nDocument Root\t\n\/var\/sites\/studierenplus\nPHP\t\n7.0.15-0ubuntu0.16.04.4\nPHP Time Limit\t\n300\nPHP Memory Limit\t\n1024M\nPHP Post Max Size\t\n96M\nPHP Upload Max Size\t\n96M\nPHP Max Input Vars\t\n1000\nPHP Display Errors\t\nYes\nPHP Error Log\t\nMySQL\t\n5.5.5-10.0.29-MariaDB-0ubuntu0.16.04.1\nMySQL Ext\/mysqli\t\nYes\nMySQL Table Prefix\t\nwp_\nMySQL DB Charset\t\nutf8\nWP\t\n4.7.4\nWP Multisite\t\nNo\nWP Debug Mode\t\nNo\nWP Site url\t\nhttps:\/\/www.studierenplus.de\nWP WP Home url\t\nhttps:\/\/www.studierenplus.de\nWP Permalinks\t\n\/%postname%\/\nWP home path\t\n\/var\/sites\/studierenplus\/\nWP content dir\t\n\/var\/sites\/studierenplus\/wp-content\nWP plugin dir\t\n\/var\/sites\/studierenplus\/wp-content\/plugins\nWP content url\t\nhttps:\/\/www.studierenplus.de\/wp-content\nWP plugin url\t\nhttps:\/\/www.studierenplus.de\/wp-content\/plugins\nWP Locale\t\nde_DE\nWP Memory Limit\t\n256M\nWP Max Upload Size\t\n96mb\nWP Active plugins\t\nAdaptive Images for WordPress v.0.6.62 by Nevma\nAddToAny Share Buttons v.1.7.9 by AddToAny\nWebsite Tools by AddThis v.3.0.0 by The AddThis Team\nFollow Buttons by AddThis v.4.0.0 by The AddThis Team\nShare Buttons by AddThis v.5.3.5 by The AddThis Team\nWP-All-Image-Sizes v.0.2 by Salvatore Fresta\nAntispam Bee v.2.7.1 by pluginkollektiv\nbananacontent v.2.1.3 by Vladislav Melnik, Jonas Breuer\nCheckout Address Autocomplete for WooCommerce v.1.3 by eCreations\nConditional Menus v.1.0.6 by Themify\nCookie Notice v.1.2.38 by dFactory\nDelete Me v.2.0 by Clinton Caldwell\nEWWW Image Optimizer v.3.3.0 by Shane Bishop\nFormidable Bootstrap v.1.02 by Strategy11\nFormidable Forms v.2.03.07 by Strategy11\nGoogle Analytics Dashboard f\u00fcr WP v.4.9.6.2 by Alin Marcu\nKingSumo Giveaways v.1.5.1 by KingSumo\nLoco Translate v.2.0.13 by Tim Whitlock\nNginx Zwischenspeicher v.1.0.2 by Till Kr\u00fcss\nPassword Strength for WooCommerce v.1.0.1 by Potent Plugins\nPHP Code For Posts v.2.2.2.1 by Jamie Fraser\nPretty Link v.2.0.8 by Blair Williams\nReading Position Indicator v.1.0.1 by Marcin Pietrzak\nSearch Exclude v.1.2.2 by Roman Pronskiy\nWooCommerce Send Emails v.1.3 by Stuart O&#039;Brien, cxThemes\nShare a Draft v.1.4 by Nikolay Bachiyski\nThrive Clever Widgets v.1.27 by Thrive Themes\nThrive Leads v.1.95.17 by Thrive Themes\nThrive Ovation v.1.0.13 by Thrive Themes\nThrive Quiz Builder v.1.0.10 by Thrive Themes\nThrive Visual Editor v.1.500.16 by Thrive Themes\nWoo Checkout Field Editor Pro v.1.1.6 by ThemeHiGH\nWooCommerce - Autocomplete Orders v.1.1.4 by Serious Plugins\nWooCommerce Stripe Gateway v.3.1.7 by WooCommerce\nGerman Market v.3.2.3 by MarketPress\nWooCommerce Mitglieder v.1.8.3 by SkyVerge\nWooCommerce Name Your Price v.2.5.3 by Kathy Darling\nWooCommerce Social Login v.2.1.0 by SkyVerge\nWooCommerce Subscription Downloads v.1.1.6 by WooCommerce\nWooCommerce Subscriptions v.2.2.5 by Prospress Inc.\nWooCommerce v.3.0.4 by Automattic\nWooCommerce Helper v.1.7.2 by WooCommerce\nYoast SEO v.4.6 by Team Yoast\nWordPress Anti-Clone v.0.1.2 by Sebastian Bauer\nWP LikeJS v.1.0.1 by Dennis Niedernh\u00f6fer und Merlin Roth\nWP Speed of Light v.1.3.0 by JoomUnited\nWP MU plugins<\/code><\/pre>\n<p>And the nginx config:<\/p>\n<pre><code>location ~ .*\\.(gif|jpg|jpeg|png|bmp|swf|flv|mp4|ico)$ {\n    expires 30d;\n    access_log on;\n    rewrite_log on;\n    rewrite \\.(?:jpe?g|gif|png)$ \/wp-content\/plugins\/adaptive-images\/adaptive-images-script.php;\n}<\/code><\/pre>\n<p>Greetings<\/p>\n","protected":false},"template":"","class_list":["post-9069000","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9069000","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9069000\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9069000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}