{"id":1648,"date":"2015-04-02T00:24:53","date_gmt":"2015-04-01T22:24:53","guid":{"rendered":"http:\/\/adrhc.go.ro\/wordpress\/?p=1648"},"modified":"2017-05-11T12:16:03","modified_gmt":"2017-05-11T10:16:03","slug":"nginx-autoindex-and-apaxy","status":"publish","type":"post","link":"https:\/\/adrhc.go.ro\/blog\/nginx-autoindex-and-apaxy\/","title":{"rendered":"nginx autoindex and apaxy"},"content":{"rendered":"<pre class=\"brush:bash shell\">\r\n# I advise you to download apaxy + http:\/\/adrhc.go.ro\/public\/apaxy_for_nginx.js \r\n# then replace the urls below with the ones for your server.\r\n# Possible values for:\r\n# defaultSortProperty (string): \"name\", \"parsedDate\", \"size\"\r\n# isDescSort (boolean): true\/false\r\n# apaxyIconsRoot (string): the root of apaxy icons dir (e.g. \/apaxy\/theme\/icons\/ -> ending slash matters!)\r\nautoindex\t\t\t\ton;\r\nautoindex_exact_size\toff;\r\nadd_before_body\t\t\thttp:\/\/adrhc.go.ro\/apaxy-20150401\/theme\/header.html;\r\nadd_after_body\t\t\thttp:\/\/adrhc.go.ro\/apaxy-20150401\/theme\/footer.html;\r\nsub_filter\t\t\t\t&lt;\/body>\t'&lt;link href=\"http:\/\/adrhc.go.ro\/apaxy-20150401\/theme\/style.css\" rel=\"stylesheet\">&lt;script src=\"http:\/\/adrhc.go.ro\/public\/apaxy_for_nginx.js\">&lt;\/script>&lt;script>apaxyPatchForNginx.setDescSort(false);apaxyPatchForNginx.setDefaultSortProperty(\"name\");apaxyPatchForNginx.setApaxyIconsRoot(\"http:\/\/adrhc.go.ro\/apaxy-20150401\/theme\/icons\/\");apaxyPatchForNginx.doApaxy();&lt;\/script>&lt;\/body>';\r\n\tsub_filter_last_modified\ton;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p># I advise you to download apaxy + http:\/\/adrhc.go.ro\/public\/apaxy_for_nginx.js # then replace the urls below with the ones for your server. # Possible values for: # defaultSortProperty (string): &#8220;name&#8221;, &#8220;parsedDate&#8221;, &#8220;size&#8221; # isDescSort (boolean): true\/false # apaxyIconsRoot (string): the root [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/adrhc.go.ro\/blog\/nginx-autoindex-and-apaxy\/#more-1648\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">nginx autoindex and apaxy<\/span><\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,11],"tags":[127,100],"class_list":["post-1648","post","type-post","status-publish","format-standard","hentry","category-configuration","category-linux","tag-apaxy","tag-nginx"],"_links":{"self":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/1648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/comments?post=1648"}],"version-history":[{"count":0,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/1648\/revisions"}],"wp:attachment":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/media?parent=1648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/categories?post=1648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/tags?post=1648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}