Skip to content

Instantly share code, notes, and snippets.

@dariocravero
Created January 8, 2016 12:36
Show Gist options
  • Save dariocravero/c07bfa468b385aae996d to your computer and use it in GitHub Desktop.
Save dariocravero/c07bfa468b385aae996d to your computer and use it in GitHub Desktop.
server {
listen 80 default_server;
server_name _;
keepalive_timeout 5;
root /var/www/panels-pages;
access_log /var/log/panels-pages-nginx.access.log;
error_log /var/log/panels-pages-nginx.error.log;
location / {
add_header Access-Control-Allow-Origin *;
try_files $uri /index.html;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment