Skip to content

Instantly share code, notes, and snippets.

@EmpeRoar
Created August 30, 2023 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EmpeRoar/14db55d56eb7b06c9d586c7056792a31 to your computer and use it in GitHub Desktop.
Save EmpeRoar/14db55d56eb7b06c9d586c7056792a31 to your computer and use it in GitHub Desktop.
nginx
events {}
http {
include /etc/nginx/mime.types;
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
add_header Content-Security-Policy "frame-ancestors http://localhost:4200; frame-src https://dev-aqpzdui6.auth0.com";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment