-
Notifications
You must be signed in to change notification settings - Fork 3
Nginx ์ค์
rockpell edited this page Dec 1, 2020
·
2 revisions
server {
listen 80;
server_name _;
root /home/slack-clone/Project12-C-Slack-Web/frontend/build;
location / {
}
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name slack-clone.kro.kr;
root /home/slack-clone/Project12-C-Slack-Web/frontend/build;
ssl_certificate /etc/letsencrypt/live/slack-clone.kro.kr/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/slack-clone.kro.kr/privkey.pem;
location / {
index index.html index.htm;
try_files $uri /index.html;
}
}
server {
listen 80 default_server;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name _;
location / {
}
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name api.slack-clone.kro.kr;
ssl_certificate /etc/letsencrypt/live/slack-clone.kro.kr/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/slack-clone.kro.kr/privkey.pem;
location / {
proxy_pass http://localhost:5000;
}
location /chat {
proxy_pass http://localhost:4000/chat;
}
location /socket.io/ {
proxy_pass http://localhost:4000/socket.io/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
๋ฐ์ผ๋ฆฌ ์คํฌ๋ผ
- ์คํฌ๋ผ ํ ํ๋ฆฟ
- 2020.11.17 ์คํฌ๋ผ
- 2020.11.18 ์คํฌ๋ผ
- 2020.11.19 ์คํฌ๋ผ
- 2020.11.20 ์คํฌ๋ผ
- 2020.11.23 ์คํฌ๋ผ
- 2020.11.24 ์คํฌ๋ผ
- 2020.11.25 ์คํฌ๋ผ
- 2020.11.26 ์คํฌ๋ผ
- 2020.11.27 ์คํฌ๋ผ
- 2020.11.30 ์คํฌ๋ผ
- 2020.12.01 ์คํฌ๋ผ
- 2020.12.02 ์คํฌ๋ผ
- 2020.12.03 ์คํฌ๋ผ
- 2020.12.04 ์คํฌ๋ผ
- 2020.12.07 ์คํฌ๋ผ
- 2020.12.08 ์คํฌ๋ผ
- 2020.12.09 ์คํฌ๋ผ
- 2020.12.10 ์คํฌ๋ผ
- 2020.12.11 ์คํฌ๋ผ
- 2020.12.14 ์คํฌ๋ผ
- 2020.12.15 ์คํฌ๋ผ
- 2020.12.16 ์คํฌ๋ผ
- 2020.12.17 ์คํฌ๋ผ
- 2020.12.18 ์คํฌ๋ผ