diff --git a/api/cloud/nginx.conf b/api/cloud/nginx.conf index 602635f..9fb3ef5 100644 --- a/api/cloud/nginx.conf +++ b/api/cloud/nginx.conf @@ -37,7 +37,6 @@ http { server { listen 3000; listen 443 ssl; - listen 80; server_name drive-gooder.com; proxy_ssl_server_name on; @@ -52,7 +51,7 @@ http { } location /api { - proxy_pass http://localhost:5003/api; + proxy_pass https://localhost:5003/api; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;