ansible/snippets/spaceapi-nginx.j2

8 lines
174 B
Django/Jinja

# spaceapi nginx config snippet
location = /statejson {
proxy_pass http://localhost:8888;
include proxy_params;
add_header 'Access-Control-Allow-Origin' '*';
}