- This passes on the path, eg:
/contact-us, as part of the redirect - When using a separate 'site' in Laravel Forge.
- Implement the below first
- Then add each domain and issue a certificate
Look for something like this in the nginx.conf interface:
| Claude Code Status Line Setup | |
| Configure a custom status line that runs a shell script (~/.claude/statusline-command.sh) and displays these pipe-separated segments: | |
| 1. Current working directory — read from the JSON stdin field workspace.current_dir (fallback to cwd) | |
| 2. Git branch — detect via git -C "$cwd" with --no-optional-locks. Color it red if on main, green otherwise. Append * if there are uncommitted staged or | |
| unstaged changes. |
/contact-us, as part of the redirectLook for something like this in the nginx.conf interface:
https://tailwindcss.com/docs/upgrade-guide#using-the-upgrade-tool
Step 1. Change inmports any *.css file:
From:
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
Warning: This process rewrites history. Teams beware!
I've found this useful to remove images from being stored within a Statamic website's repo and instead being backed-up to Digitalocean spaces. GitHub recommends this and I've followed this process a few times. Your mileage may vary.
1. Check current size of repo (on dev server or locally):
| wget -e robots=off --mirror --page-requisites --convert-links --adjust-extension --no-if-modified-since --no-check-certificate --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36" https://example.com |
| <LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> | |
| <Rule> | |
| <ID>Prune files starting with backup- after 30 days</ID> | |
| <Prefix>backup-</Prefix> | |
| <Status>Enabled</Status> | |
| <Expiration> | |
| <Days>30</Days> | |
| </Expiration> | |
| </Rule> | |
| </LifecycleConfiguration> |
| location / { | |
| proxy_pass http://localhost:3000/; | |
| proxy_http_version 1.1; | |
| proxy_set_header Upgrade $http_upgrade; | |
| proxy_set_header Connection 'upgrade'; | |
| proxy_set_header Host $host; | |
| proxy_cache_bypass $http_upgrade; | |
| } |
This is a command line tool for syncing with DigitalOcean Spaces or Amazon S3.
I'm using this in the context of .gitignore'ing Assets from a Statamic site.
DigitalOcean Spaces with s3cmd
Creating and configuring a new site / environment occurs occasionally. Often, to update the underlying server software.
This site has been built with: