File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed
Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ services:
1616 image : neibler/ongil-backend:latest
1717 container_name : ongil-backend
1818 restart : always
19+ ports :
20+ - " 8080:8080"
1921 env_file :
2022 - /home/ubuntu/ongil-backend/.env
2123 environment :
Original file line number Diff line number Diff line change 1- server {
2- listen 80 ;
3- server_name _;
1+ location / {
2+ proxy_pass http ://ongil-backend:8080 ;
43
5- gzip on;
6- gzip_types text/plain text/css application/json application/javascript text/xml;
7- gzip_min_length 1000 ;
8-
9- location / {
10- proxy_pass http ://backend:8080 ;
114 proxy_set_header Host $host ;
125 proxy_set_header X-Real-IP $remote_addr ;
136 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
@@ -16,5 +9,4 @@ server {
169 proxy_connect_timeout 60 ;
1710 proxy_send_timeout 300 ;
1811 proxy_read_timeout 300 ;
19- }
20- }
12+ }
You can’t perform that action at this time.
0 commit comments