home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 709598324

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/1024#issuecomment-709598324 https://api.github.com/repos/simonw/datasette/issues/1024 709598324 MDEyOklzc3VlQ29tbWVudDcwOTU5ODMyNA== 9599 2020-10-15T21:23:33Z 2020-10-15T21:26:55Z OWNER Combining these two examples, here's the config file I am going to use for this. I'll save this as `nginx.conf`: ``` daemon off; events { worker_connections 1024; } http { server { listen 8000; location /datasette { proxy_pass http://127.0.0.1:8001; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } } ``` Then start the server with: ``` nginx -p `pwd` -c `pwd`/nginx.conf ``` And start Datasette like this: ``` datasette fixtures.db --config base_url:/datasette/ ``` {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 722674708  
Powered by Datasette · Queries took 1.093ms