forked from h5bp/server-configs-nginx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:h5bp/server-configs-nginx
* 'master' of github.com:h5bp/server-configs-nginx: (92 commits) Additional compression method added for gzip (h5bp#236) Bump server-config-test to 1.2.1 Switch tertiary DNS used for OCSP checking to OpenDNS (h5bp#235) Revert "Drop Cache-Control: no-transform usage" Release v3.1.0 Fix CHANGELOG formatting Use generic `$host` instead of host name Pre-compressed content usage config files Fix rebase artifacts Documentation formatting and reviewing (h5bp#232) Fix 304 responses Cache-control override Fix dropped Cache-Control: no-transform usage for SVGZ Compression Bump server-configs-test to v1.1.0 Improve wording and file headers Drop Cache-Control: no-transform usage Add Google Public DNS IPv6 and Cloudflare DNS IP addresses to `resolver` (h5bp#229) Fix misc typos in comments (h5bp#228) Update README.md Fix typo in example conf (h5bp#226) Improve default Content-Security-Policy value (h5bp#224) ...
- Loading branch information
Showing
77 changed files
with
1,387 additions
and
1,235 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# For more information about the properties used in | ||
# this file, please see the EditorConfig documentation: | ||
# https://editorconfig.org/ | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
# Markdown uses the trailing whitespaces | ||
# https://daringfireball.net/projects/markdown/syntax#block | ||
trim_trailing_whitespace = false |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Automatically normalize line endings for all text-based files | ||
# https://git-scm.com/docs/gitattributes#_end_of_line_conversion | ||
|
||
* text=auto | ||
|
||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
|
||
# Make GitHub's language statistics treat the `*.conf` files as | ||
# Nginx configuration files | ||
# | ||
# https://github.com/github/linguist/blob/master/README.md | ||
|
||
*.conf linguist-language=Nginx | ||
|
||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
|
||
.travis.yml export-ignore | ||
/.git* export-ignore | ||
/test export-ignore |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# https://help.github.com/articles/about-codeowners/ | ||
|
||
* @h5bp/server-configs-nginx |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Please read [Code of Conduct for H5BP](https://github.com/h5bp/html5-boilerplate/blob/master/.github/CODE_OF_CONDUCT.md) |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
locals.conf | ||
sites-enabled/* | ||
/logs/ | ||
/conf.d/*.conf | ||
!/conf.d/.default.conf | ||
!/conf.d/no-ssl.default.conf | ||
/test/* | ||
!/test/vhosts/ | ||
/k6/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# https://docs.travis-ci.com/ | ||
|
||
language: minimal | ||
|
||
services: | ||
- docker | ||
|
||
addons: | ||
hosts: | ||
- server.localhost | ||
- www-server.localhost | ||
- www.server.localhost | ||
- secure.server.localhost | ||
- www.secure.server.localhost | ||
apt: | ||
packages: | ||
- docker-ce | ||
|
||
install: | ||
- curl -sSL https://github.com/h5bp/server-configs-test/releases/download/1.2.1/server-configs-test.tar.gz | tar -xz -C test/ | ||
|
||
before_script: | ||
- docker pull nginx | ||
- | | ||
docker run -d -p 80:80 -p 443:443 --name server \ | ||
-v $TRAVIS_BUILD_DIR/test/fixtures:/var/www/server.localhost \ | ||
-v $TRAVIS_BUILD_DIR/test/vhosts:/etc/nginx/conf.d \ | ||
-v $TRAVIS_BUILD_DIR/test/certs:/etc/nginx/certs \ | ||
-v $TRAVIS_BUILD_DIR/h5bp:/etc/nginx/h5bp \ | ||
-v $TRAVIS_BUILD_DIR/nginx.conf:/etc/nginx/nginx.conf \ | ||
-v $TRAVIS_BUILD_DIR/mime.types:/etc/nginx/mime.types \ | ||
nginx | ||
script: | ||
- ./test/bin/k6 run test/lib/index.js -e TESTS=basic-file-access:caching:cache-busting:custom-errors:forbidden-files:precompressed-files-gzip:rewrites:ssl | ||
|
||
after_success: ./test/bin/k6 run test/lib/benchmark.js | ||
|
||
after_failure: | ||
- docker ps -a | ||
- docker logs server |
This file contains 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
This file contains 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
Oops, something went wrong.