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 17:05:05 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c98fafa46a554eb4c98588ee193fde56b6391f6e
c98fafa4
1 parent
6ac8ec1d
웹서버 설정에 인증서 추가 및 https 포트 개방
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
docker-compose.yml
web/Dockerfile
web/default.conf
docker-compose.yml
View file @
c98fafa
...
...
@@ -15,4 +15,6 @@ services:
dockerfile
:
./web/Dockerfile
restart
:
unless-stopped
ports
:
-
"
80:80"
-
"
443:443"
volumes
:
-
/etc/letsencrypt:/etc/letsencrypt
...
...
web/Dockerfile
View file @
c98fafa
...
...
@@ -19,6 +19,6 @@ FROM nginx:latest
COPY web/default.conf /etc/nginx/conf.d/default.conf
COPY --from=build /usr/web/build /usr/web/build
EXPOSE
80
EXPOSE
443
CMD
["nginx", "-g", "daemon off;"]
...
...
web/default.conf
View file @
c98fafa
server
{
listen
80
;
listen
443
ssl
default_server
;
server_name
2020105578
.
oss2021
.
tk
;
ssl_certificate
/
etc
/
letsencrypt
/
live
/
2020105578
.
oss2021
.
tk
/
fullchain
.
pem
;
ssl_certificate_key
/
etc
/
letsencrypt
/
live
/
2020105578
.
oss2021
.
tk
/
privkey
.
pem
;
location
/ {
root
/
usr
/
web
/
build
;
index
index
.
html
;
...
...
Please
register
or
login
to post a comment