infra: change host port to 6974
All checks were successful
Build & Push / build-and-push (push) Successful in 1m24s
All checks were successful
Build & Push / build-and-push (push) Successful in 1m24s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,7 @@ server {
|
||||
# Certbot will add SSL config after: sudo certbot --nginx -d staging.letsbe.biz
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3847;
|
||||
proxy_pass http://127.0.0.1:6974;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
@@ -20,21 +20,21 @@ server {
|
||||
|
||||
# Static assets — long cache
|
||||
location /_next/static/ {
|
||||
proxy_pass http://127.0.0.1:3847;
|
||||
proxy_pass http://127.0.0.1:6974;
|
||||
proxy_cache_valid 200 365d;
|
||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||
}
|
||||
|
||||
# Public assets
|
||||
location /images/ {
|
||||
proxy_pass http://127.0.0.1:3847;
|
||||
proxy_pass http://127.0.0.1:6974;
|
||||
proxy_cache_valid 200 30d;
|
||||
add_header Cache-Control "public, max-age=2592000";
|
||||
}
|
||||
|
||||
# Payload media uploads
|
||||
location /media/ {
|
||||
proxy_pass http://127.0.0.1:3847;
|
||||
proxy_pass http://127.0.0.1:6974;
|
||||
proxy_cache_valid 200 30d;
|
||||
add_header Cache-Control "public, max-age=2592000";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user