Nginx cache timeout is not being applied - MISS of X-Cache-Status

Follow

Comments

2 comments

  • Avatar
    Elcio
    When I type the command sed -i.backup sed -i.backup "/proxySettings['nginxCacheSize']/s/$/ . " inactive=5h"/" /usr/local/psa/admin/conf/templates/custom/domain/service/nginxCachePath.php I get the error sed: -e expression #1, char 40: unterminated `s' command
  • Avatar
    Pavel Rozental (Edited )

    Hello,

    As I can see you used incorrect command, correct one is:

    sed -i.backup "/proxySettings\['nginxCacheSize'\]/s/$/ . ' inactive=5h'/" /usr/local/psa/admin/conf/templates/custom/domain/service/nginxCachePath.php

Please sign in to leave a comment.

Have more questions? Submit a request