Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
meanspec-IaC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MeanSpec (SCE338 2024-2 Group 1)
meanspec-IaC
Commits
a17abff3
Commit
a17abff3
authored
6 months ago
by
Eunhak Lee
Browse files
Options
Downloads
Patches
Plain Diff
feat: 프론트엔드 엔드포인트 붙임
parent
62d79b8a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yml
+2
-1
2 additions, 1 deletion
docker-compose.yml
nginx/nginx.conf
+3
-1
3 additions, 1 deletion
nginx/nginx.conf
with
5 additions
and
2 deletions
docker-compose.yml
+
2
−
1
View file @
a17abff3
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
nginx/nginx.conf
+
3
−
1
View file @
a17abff3
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment