prod broken
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m3s

This commit is contained in:
2025-11-22 21:47:08 -08:00
parent a2d19abf30
commit ebf634f2d3
5 changed files with 18 additions and 11 deletions

View File

@@ -27,7 +27,7 @@ server {
# The trailing slash on the proxy_pass URL is crucial.
# It tells Nginx to strip the `/api/` prefix from the request URI
# before passing it to the backend server.
proxy_pass http://localhost:3001/;
proxy_pass http://localhost:3001;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
@@ -55,8 +55,8 @@ server {
ssl_certificate_key /etc/letsencrypt/live/flyer-crawler.projectium.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = flyer-crawler.projectium.com) {
return 301 https://$host$request_uri;
@@ -67,6 +67,4 @@ server {
listen [::]:80;
server_name flyer-crawler.projectium.com;
return 404; # managed by Certbot
}