Skip to content
Snippets Groups Projects
Commit a17abff3 authored by Eunhak Lee's avatar Eunhak Lee
Browse files

feat: 프론트엔드 엔드포인트 붙임

parent 62d79b8a
No related branches found
No related tags found
No related merge requests found
...@@ -20,9 +20,10 @@ services: ...@@ -20,9 +20,10 @@ services:
- ./nginx/mime.types:/etc/nginx/mime.types - ./nginx/mime.types:/etc/nginx/mime.types
- ./nginx/nginx.conf:/etc/nginx/nginx.conf - ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/log/nginx:/var/log/nginx - ./nginx/log/nginx:/var/log/nginx
- ./frontend:/var/www/html/:r
restart: always restart: always
ports: ports:
- 80 - 50080:80
backend: backend:
image: git.ajou.ac.kr:5050/meanspec/meanspec-backend:latest image: git.ajou.ac.kr:5050/meanspec/meanspec-backend:latest
......
...@@ -74,7 +74,9 @@ http { ...@@ -74,7 +74,9 @@ http {
#client_max_body_sze 1G; #client_max_body_sze 1G;
location / { root /var/www/html/;
location /api {
proxy_pass_header Server; proxy_pass_header Server;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment