Skip to content

Instantly share code, notes, and snippets.

@webrgp
Created June 26, 2019 18:09
Show Gist options
  • Save webrgp/91b90f96b11a34ea3dee09b4c9e6eab0 to your computer and use it in GitHub Desktop.
Save webrgp/91b90f96b11a34ea3dee09b4c9e6eab0 to your computer and use it in GitHub Desktop.
NGINX Security configs
add_header Strict-Transport-Security "max-age=15768000; includeSubdomains; preload;";
add_header Feature-Policy "midi none;notifications none;push none;microphone none;camera none;magnetometer none;gyroscope none;speaker self;vibrate none;fullscreen self;payment none;";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment