Commit graph

17 commits

Author SHA1 Message Date
Aslak Raanes
d71cac4981
How to configure Unix domain sockets with Apache
Example on how to use Unix domain socket option on Apache. Not testet.

(Usually I would have used [`ProxyPassReverse`](https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypassreverse) in combination with `ProxyPass` , i.e.

```apache
ProxyPass /my-datasette/ http://127.0.0.1:8009/my-datasette/
ProxyPassReverse /my-datasette/ http://127.0.0.1:8009/my-datasette/
```

and

```apache
ProxyPass /my-datasette/ unix:/tmp/datasette.sock|http://localhost/my-datasette/
ProxyPassReverse /my-datasette/ unix:/tmp/datasette.sock|http://localhost/my-datasette/
```
2021-07-13 11:32:49 -07:00
Aslak Raanes
4054e96a39
Update deploying.rst (#1392)
Use same base url for Apache as in the example
2021-07-13 10:42:27 -07:00
Simon Willison
d792fc7cf5
Simplified nginx config examples 2021-07-10 17:29:42 -07:00
Simon Willison
180c7a5328 --uds option for binding to Unix domain socket, closes #1388 2021-07-10 16:37:30 -07:00
Simon Willison
c8feaf0b62
systemctl restart datasette.service, closes #1390 2021-07-09 09:32:32 -07:00
Simon Willison
dbc61a1fd3
Documented ProxyPreserveHost On for Apache, closes #1387 2021-07-02 10:33:03 -07:00
Jean-Baptiste Pressac
a1bcd2fbe5
Minor typo in IP adress (#1256)
127.0.01 replaced by 127.0.0.1
2021-03-10 10:26:39 -08:00
David Boucha
4f9a2f1f47
Fix small typo (#1243)
Thanks, @UtahDave
2021-03-03 21:46:10 -08:00
Simon Willison
4c0995ed60
Fixed bug in example nginx config, refs #1091 2021-01-07 15:42:14 -08:00
Simon Willison
50cc6af016 Fixed some broken internal links, refs #1106 2020-11-28 15:34:56 -08:00
Simon Willison
5a77f7a649 Updated docs renaming config to settings
- config.html is now settings.html
- ConfigOption in app.py is now Setting
- updated documentation unit tests

Refs #1106
2020-11-24 13:22:33 -08:00
Simon Willison
5eb8e9bf25 Removed words that minimize involved difficulty, closes #1089 2020-11-12 12:07:19 -08:00
Simon Willison
1fe15f4dc1 Docs: Running Datasette behind a proxy, closes #1027 2020-10-31 14:13:57 -07:00
Simon Willison
703439bdc3 Don't suggest datasette-graphql in bulidpacks demo
Refs #997 - it's not a great suggestion because the fivethirtyeight.db
database has so many tables.
2020-10-08 16:50:43 -07:00
Simon Willison
7a029d1eda Link to hosting providers, refs #997 2020-10-08 16:36:22 -07:00
Simon Willison
e4f18fbd37 Deploying using buildpacks docs, closes #997 2020-10-08 16:32:04 -07:00
Simon Willison
2458d7b766 Docs on deploying with systemd, refs #514 2020-10-08 15:47:37 -07:00