Skip to content

Instantly share code, notes, and snippets.

@zonque
Created January 21, 2021 09:46
Show Gist options
  • Save zonque/2625eb034135f9b139cbd4d55bbabc9f to your computer and use it in GitHub Desktop.
Save zonque/2625eb034135f9b139cbd4d55bbabc9f to your computer and use it in GitHub Desktop.
server {
listen 8009;
location / {
add_header Access-Control-Allow-Origin * always;
add_header Access-Control-Allow-Headers * always;
add_header Access-Control-Allow-Methods * always;
proxy_pass http://localhost:8008;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment