Skip to content

Commit

Permalink
chore: nginx https 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoya324 committed Aug 12, 2024
1 parent 745410c commit 36f0274
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ events {
}

http {
map $scheme $fastcgi_https {
default off;
https on;
}

upstream was {
server maru-egg:8080;
}
Expand Down Expand Up @@ -34,6 +39,7 @@ http {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header HTTPS $fastcgi_https;
}
}
}
}

0 comments on commit 36f0274

Please sign in to comment.