diff options
| author | Christian Cleberg <[email protected]> | 2024-05-01 21:45:52 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2024-05-01 21:45:52 -0500 |
| commit | 7d3b5175f2d9d016b06190273fcfeb380a460b3f (patch) | |
| tree | 71139c9021b09704b2d45be3b64d54e2acbae55f /content/blog/2023-10-17-self-hosting-anonymousoverflow.md | |
| parent | 7c70a351e25106ceff49ff8ee0a38e2a545f62f0 (diff) | |
| download | cleberg.net-7d3b5175f2d9d016b06190273fcfeb380a460b3f.tar.gz cleberg.net-7d3b5175f2d9d016b06190273fcfeb380a460b3f.tar.bz2 cleberg.net-7d3b5175f2d9d016b06190273fcfeb380a460b3f.zip | |
prettier formatting and rewrap lines
Diffstat (limited to 'content/blog/2023-10-17-self-hosting-anonymousoverflow.md')
| -rw-r--r-- | content/blog/2023-10-17-self-hosting-anonymousoverflow.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/content/blog/2023-10-17-self-hosting-anonymousoverflow.md b/content/blog/2023-10-17-self-hosting-anonymousoverflow.md index eea1fbe..b8f3733 100644 --- a/content/blog/2023-10-17-self-hosting-anonymousoverflow.md +++ b/content/blog/2023-10-17-self-hosting-anonymousoverflow.md @@ -28,19 +28,19 @@ nano docker-compose.yml Within this file, paste the following information. Be sure to change the `APP_URL`, `JWT_SIGNING_SECRET`, and `ports` to match your needs. -``` yaml -version: '3' +```yaml +version: "3" services: anonymousoverflow: - container_name: 'app' - image: 'ghcr.io/httpjamesm/anonymousoverflow:release' + container_name: "app" + image: "ghcr.io/httpjamesm/anonymousoverflow:release" environment: - APP_URL=https://ao.example.com - JWT_SIGNING_SECRET=secret #pwgen 40 1 ports: - - '9380:8080' - restart: 'always' + - "9380:8080" + restart: "always" ``` Save and exit the file when complete. You can now launch the container and @@ -65,7 +65,7 @@ Within this file, paste the following content and repace `ao.example.com` with your URL. You may need to update the SSL certificate statements if your certificates are in a different location. -``` conf +```conf server { if ($host ~ ^[^.]+\.cleberg\.net$) { return 301 https://$host$request_uri; |
