No Available nginx Directive Snippets

Discussion in 'Installation/Configuration' started by shiroko, Mar 6, 2014.

  1. shiroko

    shiroko New Member

    Hello,

    I was adding / edit my vhosts manually and faced a problem after rebooting my server, the all disappeared.

    So after some readings, I found, I need to add websites in ISPConfig and edit vhosts through ISPConfig in "Options" tab.

    I'd like to use ngx_pagespeed (already installed) but when I want to add nginx Directives :

    Code:
    pagespeed MemcachedThreads 1;
    pagespeed MemcachedServers "localhost:11211";
    and hit Save button, nothing is added in the vhost conf file (domainxxxx.vhost)

    When I go back to ISPConfig Option tab, I see the directives are there, but .vhost remains unchanged.

    On the right of the field I see this :

    Code:
    Available nginx Directive Snippets:
    
     ------
    Does anything needs to be displayed there instead of ------- ?

    My server :

    Followed this tutorial : Perfect server ispconfig + nginx

    Thanks in advance for your help !

    EDIT :

    OK, after going to : Tools > Sync Tools > Resync > Check Resync Websites
    The Directives showed up in the .vhost conf file...
     
    Last edited: Mar 6, 2014
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    A resync should not be nescessary, you just have to wait up to 60 seconds as changes get written to disk once a minute.
     

Share This Page