We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25d6465 commit 54a7e3dCopy full SHA for 54a7e3d
βnginx/conf.d/app.confβ
@@ -1,3 +1,7 @@
1
+upstream spring_app {
2
+ server interview-be-app:8080;
3
+}
4
+
5
server {
6
listen 80;
7
listen [::]:80;
@@ -25,7 +29,7 @@ server {
25
29
26
30
# κΈ°λ³Έ νλ‘μ
27
31
location / {
28
- proxy_pass http://localhost:8080;
32
+ proxy_pass http://spring_app:8080;
33
proxy_set_header Host $http_host;
34
proxy_set_header X-Real-IP $remote_addr;
35
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -35,7 +39,7 @@ server {
39
36
40
# SSE (νμμμ/λ²νΌλ§ μ‘°μ )
37
41
location /notifications/subscribe {
38
42
43
proxy_http_version 1.1;
44
proxy_set_header Connection '';
45
proxy_buffering off;
0 commit comments