add netdata restart and hsts for subdomains
This commit is contained in:
parent
92c3af8f92
commit
2aed70a729
|
@ -268,6 +268,7 @@ echo 1000 >/sys/kernel/mm/ksm/sleep_millisecs
|
|||
|
||||
# disable email notifications
|
||||
wget -O /etc/netdata/health_alarm_notify.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/netdata/health_alarm_notify.conf
|
||||
service netdata restart
|
||||
|
||||
```
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
# Warning : this line enable HSTS for your domain and all subdomains (ngx_http_headers_module is required) (15768000 seconds = 6 months)
|
||||
add_header Strict-Transport-Security "max-age=31536000; preload";
|
Loading…
Reference in New Issue