I hereby claim:
- I am mikescandy on github.
- I am mikescandy (https://keybase.io/mikescandy) on keybase.
- I have a public key ASBl5d87ewJh_GvSgVK_NE4VlXFSecCPyakBFvnqvdv9ugo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This is my boilerplate for a Nginx config with SSL. I like the idea of modular includes, so I created a /etc/nginx/includes
directory for files that get included into the main config file /etc/nginx/nginx.conf
. I moved mime.types
and fastcgi.conf
to that includes
folder. I use a common-location-rules.conf
file for location rules that are shared between all sites hosted on the server. Relative paths in include
directives are relative to the config prefix path (path to the nginx.conf
file, by default /etc/nginx/
).
The following files are from h5bp/server-configs-nginx:
includes/mime.types
: here the correct MIME type for javascript (application/javascript
instead of text/javascript
) is set among others. Using this file is important because the gzip_types
rule is set accordingly in gzip.conf
.includes/expires.conf
](httWhile I'm learning how to use Nginx, I was instructed to update the server_names_hash_bucket_size
(/etc/nginx/nginx.conf
) value from 32 to 64, but I don't understand why should I increase the value to 64.
References that have been read so far:
# Description: Boxstarter Script | |
# Author: Jess Frazelle <jess@linux.com> | |
# Last Updated: 2017-09-11 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
namespace Analogy | |
{ | |
/// <summary> | |
/// This example shows that a library that needs access to target .NET Standard 1.3 | |
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET | |
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library. | |
/// </summary>INetCoreApp10 | |
class Example1 | |
{ | |
public void Net45Application(INetFramework45 platform) |