Move config snippets around
Make it more obvious which snippets are location based, and which are just directives. Need to provide more files like basic.conf to cover more of the common use cases.
This commit is contained in:
parent
3c31cc04e9
commit
560bdab9cf
|
@ -0,0 +1,6 @@
|
|||
# Basic h5bp rules
|
||||
|
||||
include h5bp/directive-only/x-ua-compatible.conf;
|
||||
include h5bp/location/expires.conf;
|
||||
include h5bp/location/cross-domain-fonts.conf;
|
||||
include h5bp/location/protect-system-files.conf;
|
|
@ -1,6 +0,0 @@
|
|||
# Basic h5bp rules
|
||||
|
||||
include h5bp/expires.conf;
|
||||
include h5bp/x-ua-compatible.conf;
|
||||
include h5bp/cross-domain-fonts.conf;
|
||||
include h5bp/protect-system-files.conf;
|
|
@ -30,6 +30,6 @@ server {
|
|||
# Custom 404 page
|
||||
error_page 404 /404.html;
|
||||
|
||||
# Include the component config parts for h5bp
|
||||
include h5bp/h5bp.conf;
|
||||
# Include the basic h5bp config set
|
||||
include h5bp/basic.conf;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue