prod broken
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m3s
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m3s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user