Skip to content

Commit

Permalink
use https within container
Browse files Browse the repository at this point in the history
  • Loading branch information
seplee committed Apr 14, 2024
1 parent aea9ab9 commit a535d13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/cloud/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ http {
server {
listen 3000;
listen 443 ssl;
listen 80;
server_name drive-gooder.com;

proxy_ssl_server_name on;
Expand All @@ -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;
Expand Down

0 comments on commit a535d13

Please sign in to comment.