diff options
author | Christian Cleberg <hello@cleberg.net> | 2024-05-01 21:45:52 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2024-05-01 21:45:52 -0500 |
commit | dc1261d703ae1e1a14841b030888e3f87ff7c38f (patch) | |
tree | 71139c9021b09704b2d45be3b64d54e2acbae55f /content/blog/2023-10-17-self-hosting-anonymousoverflow.md | |
parent | ba6b552c8256cc2e071c910ef7821c82443f1f82 (diff) | |
download | cleberg.net-dc1261d703ae1e1a14841b030888e3f87ff7c38f.tar.gz cleberg.net-dc1261d703ae1e1a14841b030888e3f87ff7c38f.tar.bz2 cleberg.net-dc1261d703ae1e1a14841b030888e3f87ff7c38f.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; |