Vhost setup

I am using nginx version 1.12, but i am unable to find any files under /etc/nginx/conf.d.
So which file should be use for creating vhost conf file?
Is this a version issue?
  • post-author-pic
    Terrence C

    If this is a new install, there may not be any files there. This is where you will create the vhosts, adding that directory and files in it to the nginx.conf file in the include statement (so it knows to include vhost configuration files in the Nginx configuration on start). Once you add those files, you can just restart Nginx to pick up the additional configuration directive and any files in that directory.

Looking For Team Training?

Learn More