Fix external links

This commit is contained in:
Léo Colombaro 2018-11-23 14:45:12 +01:00
parent e69311d295
commit b935688c2b
No known key found for this signature in database
GPG Key ID: 687B480A6D4F735F
6 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# For more information about the properties used in # For more information about the properties used in
# this file, please see the EditorConfig documentation: # this file, please see the EditorConfig documentation:
# http://editorconfig.org/ # https://editorconfig.org/
root = true root = true

View File

@ -13,7 +13,7 @@ which may trip up new users.
A [location block (directive)](https://nginx.org/en/docs/http/ngx_http_core_module.html#location) A [location block (directive)](https://nginx.org/en/docs/http/ngx_http_core_module.html#location)
defines the behavior for a given request which matches the location url pattern. The block used defines the behavior for a given request which matches the location url pattern. The block used
is whichever is the most specific for the given request, the rules for is whichever is the most specific for the given request, the rules for
precedence can be found in [Nginx's wiki](http://wiki.nginx.org/HttpCoreModule#location). precedence can be found in [Nginx's documentation](https://nginx.org/en/docs/http/ngx_http_core_module.html#location).
It is very important when writing nginx configuration files to understand that It is very important when writing nginx configuration files to understand that
only one location block will be used by Nginx. When in doubt a useful technique only one location block will be used by Nginx. When in doubt a useful technique

View File

@ -13,5 +13,5 @@ add_header X-XSS-Protection "1; mode=block" always;
# with Content Security Policy (CSP) enabled (and a browser that supports it (https://caniuse.com/#feat=contentsecuritypolicy), # with Content Security Policy (CSP) enabled (and a browser that supports it (https://caniuse.com/#feat=contentsecuritypolicy),
# you can tell the browser that it can only download content from the domains you explicitly allow # you can tell the browser that it can only download content from the domains you explicitly allow
# CSP can be quite difficult to configure, and cause real issues if you get it wrong # CSP can be quite difficult to configure, and cause real issues if you get it wrong
# There is website that helps you generate a policy here http://cspisawesome.com/ # There is website that helps you generate a policy here https://www.cspisawesome.com/
# add_header Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' https://www.google-analytics.com;" always; # add_header Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' https://www.google-analytics.com;" always;

View File

@ -4,7 +4,7 @@ location ~* \.(?:ttf|ttc|otf|eot|woff|woff2)$ {
# Also, set cache rules for webfonts. # Also, set cache rules for webfonts.
# #
# See http://wiki.nginx.org/HttpCoreModule#location # See https://nginx.org/en/docs/http/ngx_http_core_module.html#location
# And https://github.com/h5bp/server-configs/issues/85 # And https://github.com/h5bp/server-configs/issues/85
# And https://github.com/h5bp/server-configs/issues/86 # And https://github.com/h5bp/server-configs/issues/86
access_log off; access_log off;

View File

@ -1,7 +1,7 @@
# www to non-www redirect -- duplicate content is BAD: # www to non-www redirect -- duplicate content is BAD:
# https://github.com/h5bp/html5-boilerplate/blob/5370479476dceae7cc3ea105946536d6bc0ee468/.htaccess#L362 # https://github.com/h5bp/html5-boilerplate/blob/5370479476dceae7cc3ea105946536d6bc0ee468/.htaccess#L362
# Choose between www and non-www, listen on the *wrong* one and redirect to # Choose between www and non-www, listen on the *wrong* one and redirect to
# the right one -- http://wiki.nginx.org/Pitfalls#Server_Name # the right one -- https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/#server-name-if
server { server {
# don't forget to tell on which port this server listens # don't forget to tell on which port this server listens
listen [::]:80; listen [::]:80;

View File

@ -1,5 +1,5 @@
# Choose between www and non-www, listen on the *wrong* one and redirect to # Choose between www and non-www, listen on the *wrong* one and redirect to
# the right one -- http://wiki.nginx.org/Pitfalls#Server_Name # the right one -- https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/#server-name-if
# #
server { server {
listen [::]:80; listen [::]:80;