Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강동현
/
nodejs-game
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
강동현
2021-06-10 18:03:00 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
24e2f98570c8151c21f650834332a97d0273bfce
24e2f985
1 parent
015981a5
Builds for 1 pipeline
failed
in 1 minute 15 seconds
http를 https로 리다이렉트하도록 설정
Changes
3
Builds
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
docker-compose.yml
web/Dockerfile
web/default.conf
docker-compose.yml
View file @
24e2f98
...
...
@@ -18,5 +18,6 @@ services:
restart
:
unless-stopped
ports
:
-
"
443:443"
-
"
80:80"
volumes
:
-
/etc/letsencrypt:/etc/letsencrypt
...
...
web/Dockerfile
View file @
24e2f98
...
...
@@ -20,5 +20,6 @@ COPY web/default.conf /etc/nginx/conf.d/default.conf
COPY --from=build /usr/web/build /usr/web/build
EXPOSE
443
EXPOSE
80
CMD
["nginx", "-g", "daemon off;"]
...
...
web/default.conf
View file @
24e2f98
server
{
listen
80
;
return
301
https
://$
host
$
request_uri
;
}
server
{
listen
443
ssl
default_server
;
server_name
2020105578
.
oss2021
.
tk
;
...
...
Please
register
or
login
to post a comment