docs: security already handled (no symlink + path filtered + TLS)
This commit is contained in:
@@ -53,14 +53,14 @@ PUT /{page}/
|
|||||||
tar -czC dist . | curl -X PUT \
|
tar -czC dist . | curl -X PUT \
|
||||||
--data-binary @- \
|
--data-binary @- \
|
||||||
-H 'X-Token: <TOKEN>' \
|
-H 'X-Token: <TOKEN>' \
|
||||||
http://stapler-host/my-project/
|
https://stapler-host/my-project/
|
||||||
|
|
||||||
# create archive from 'dist' dir and upload to /my-project/ and myproject.example.com
|
# create archive from 'dist' dir and upload to /my-project/ and myproject.example.com
|
||||||
tar -czC dist . | curl -X PUT \
|
tar -czC dist . | curl -X PUT \
|
||||||
--data-binary @- \
|
--data-binary @- \
|
||||||
-H 'X-Token: <TOKEN>' \
|
-H 'X-Token: <TOKEN>' \
|
||||||
-H 'X-Host: myproject.example.com' \
|
-H 'X-Host: myproject.example.com' \
|
||||||
http://stapler-host/my-project/
|
https://stapler-host/my-project/
|
||||||
```
|
```
|
||||||
|
|
||||||
### Delete page
|
### Delete page
|
||||||
@@ -73,7 +73,7 @@ DELETE /{page}/
|
|||||||
# delete /my-project/
|
# delete /my-project/
|
||||||
curl -X DELETE \
|
curl -X DELETE \
|
||||||
-H 'X-Token: <TOKEN>' \
|
-H 'X-Token: <TOKEN>' \
|
||||||
http://stapler-host/my-project/
|
https://stapler-host/my-project/
|
||||||
```
|
```
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
@@ -99,7 +99,7 @@ curl -X DELETE \
|
|||||||
- [x] certbot copy certificates for unique path
|
- [x] certbot copy certificates for unique path
|
||||||
- [x] better error page
|
- [x] better error page
|
||||||
- [x] add favicon.ico + special path
|
- [x] add favicon.ico + special path
|
||||||
- [ ] [http.server security](https://docs.python.org/3/library/http.server.html#http-server-security)
|
- [x] [http.server security](https://docs.python.org/3/library/http.server.html#http-server-security)
|
||||||
- [ ] proper doc
|
- [ ] proper doc
|
||||||
|
|
||||||
### Makefile targets
|
### Makefile targets
|
||||||
|
|||||||
Reference in New Issue
Block a user