server { listen 80; server_name localhost; location /back/ { add_header Content-Type text/json; proxy_pass http://127.0.0.1:8000/; } }