refactor(CONFIG): update sample configuration defaults

This commit is contained in:
Asif Bacchus 2021-01-07 15:04:04 -07:00
parent a1c1ac280a
commit d742bdf9ab
4 changed files with 12 additions and 5 deletions

View File

@ -1,4 +1,4 @@
client_body_buffer_size 16k;
client_max_body_size 10M;
client_header_buffer_size 1k;
large_client_header_buffers 4 8k;
client_max_body_size 10M;

3
config/cfResolver.conf Normal file
View File

@ -0,0 +1,3 @@
resolver
1.1.1.1
1.0.0.1;

View File

@ -1,9 +1,9 @@
- Place all your configuration customization files in this directory
- feel free to edit the included recommended files
- files here override container settings including nginx.conf
- files here override container settings
- Files here are placed in the HTTP configuration context
- ONLY files that end with '.conf' will be processed!
- if you want to keep a file for reference or disable it temporarily,
- if you want to keep a file for reference or disable it temporarily,
simply change the extension. I like using '.conf.disabled'.
- If you don't want to use this directory or these settings, you can bind-mount
any other directory you want to '/etc/nginx/config/'
- If you don't want to use this directory or these settings, you can bind-mount
any other directory you want to '/etc/nginx/config/'

View File

@ -1,3 +1,7 @@
# these are common security headers that you can easily add to locations or
# entire server blocks by including this file
# include /etc/nginx/snippets/headersSecurity.conf;
add_header Feature-Policy "geolocation 'self'";
add_header Referrer-Policy "same-origin" always;