Created
March 25, 2017 17:14
-
-
Save okram999/fe8334ad75f1f376ff9ba4fa02cc2d0b to your computer and use it in GitHub Desktop.
Nginx conf exerts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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