Skip to content

Instantly share code, notes, and snippets.

@okram999
Created March 25, 2017 17:14
Show Gist options
  • Save okram999/fe8334ad75f1f376ff9ba4fa02cc2d0b to your computer and use it in GitHub Desktop.
Save okram999/fe8334ad75f1f376ff9ba4fa02cc2d0b to your computer and use it in GitHub Desktop.
Nginx conf exerts
The default conf file of nginx:
/etc/nginx/nginx.conf
The above file should have an entry like so:
include /etc/nginx/conf.d/*.conf;
The ^above line creates a directive to include any other configuration files. The config files can be for
http and https configuratons.
The conf files for HTTP & HTTPS will have the below directives:
server {
..................
.................
}
This is where all the good stuff for both HTTP & HTPPS are configured
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment