Skip to content

Instantly share code, notes, and snippets.

@vivekbeas
Created April 28, 2020 23:11
Show Gist options
  • Save vivekbeas/c05874008acf927cafc504720202b29f to your computer and use it in GitHub Desktop.
Save vivekbeas/c05874008acf927cafc504720202b29f to your computer and use it in GitHub Desktop.
Nginx secure server configuration for AWS Elastic beanstalk
files:
"/etc/nginx/conf.d/02_proxy.conf":
mode: "00644"
owner: root
group: root
content: |
server_tokens off;
add_header Content-Security-Policy "script-src 'self'";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment