- multi-stage Dockerfile; worker bundled to build/worker.mjs (no tsx at runtime) - docker-compose.yml + docker-compose.nginx.yml (127.0.0.1:3320), Nginx site, encrypted backups - production URLs (datewise.metatronlabz.com) in shopify.app.toml; URL auto-update off - verified locally: healthz/landing/privacy/terms 200, unsigned proxy/webhook 400, worker starts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
757 B
Plaintext
20 lines
757 B
Plaintext
# /etc/nginx/sites-available/datewise.metatronlabz.com
|
|
# Enable: ln -s /etc/nginx/sites-available/datewise.metatronlabz.com /etc/nginx/sites-enabled/ && nginx -t && systemctl reload nginx
|
|
# TLS: certbot --nginx -d datewise.metatronlabz.com (adds the 443 block and the HTTP→HTTPS redirect)
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name datewise.metatronlabz.com;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:3320;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_read_timeout 60s;
|
|
client_max_body_size 5m;
|
|
}
|
|
}
|