[SOLVED] ISPConfig with Nginx

Discussion in 'Installation/Configuration' started by MITDK, Mar 15, 2018.

  1. MITDK

    MITDK New Member

    Hi,
    How to include a config file, for 1 website, that's placed in the /web folder?
    Like this: include /var/www/clients/client/web/web/nginx.conf.sample
     
  2. MITDK

    MITDK New Member

    Ended up with editing the website.vhost file at /etc/nginx/sites-available
     
  3. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    In Nginx you may add additional directives in its website options. For instance in WordPress, in Site > Website > Options > nginx Directives you add this code and save:
    Code:
        location / {may
           try_files $uri $uri/ /index.php?q=$uri&$args;
         }
     
    Jeremy007 likes this.

Share This Page