How to Setup
{% if advance_search_page_custom_js %} {% block advance_search_page_custom_js %} {% include "@base/page/part/advance-search-js.twig" %} {% endblock %} {% endif %}@import "../../../everyware-theme-base-2/assets/scss/advance-search/_all.scss";location ~ ^/(advanced-search/) { # This disables the monitoring. fastcgi_param PHP_VALUE "newrelic.browser_monitoring.auto_instrument=0"; # This disables the caching. header_filter_by_lua_block { ngx.header["Cache-Control"] = "max-age=" .. 0 ngx.header["expires"] = -1 ngx.header["disablecaching"] = 1 } # The rest is to be consistent with the server vars etc are the same as for the usual PHP location. include common/fastcgi_params; fastcgi_param SCRIPT_NAME "/index.php"; fastcgi_param DOCUMENT_URI "/index.php"; fastcgi_param SCRIPT_FILENAME $document_root/index.php; fastcgi_index index.php; fastcgi_pass php-fpm; }Last updated