Skip to content

Commit

Permalink
[fix] nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryeolee committed Jan 5, 2024
1 parent 7fbc5c5 commit 5103e43
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,82 @@ http {
}
}
}



# user nginx;
# worker_processes auto;
# error_log /var/log/nginx/error.log;
# pid /run/nginx.pid;

# events {
# worker_connections 1024;
# }

# http {
# include /etc/nginx/mime.types;
# default_type application/octet-stream;
# sendfile on;
# tcp_nopush on;
# keepalive_timeout 65;
# gzip on;

# upstream blue {
# server 3.35.4.220:3000;
# }

# upstream green {
# server 3.35.4.220:3001;
# }

# server {
# listen 443;
# server_name www.writon.store;



# location / {

# # 블루 컨테이너로 프록시
# if (-f /etc/nginx/blue.flag) {
# proxy_pass http://blue;
# }

# # 그린 컨테이너로 프록시
# if (-f /etc/nginx/green.flag) {
# proxy_pass http://green;
# }

# # 블루/그린 컨테이너 모두 꺼져있을 경우 에러 처리
# proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
# }
# }
# }








# #mail {
# # # See sample authentication script at:
# # # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
# #
# # # auth_http localhost/auth.php;
# # # pop3_capabilities "TOP" "USER";
# # # imap_capabilities "IMAP4rev1" "UIDPLUS";
# #
# # server {
# # listen localhost:110;
# # protocol pop3;
# # proxy on;
# # }
# #
# # server {
# # listen localhost:143;
# # protocol imap;
# # proxy on;
# # }
# #}

0 comments on commit 5103e43

Please sign in to comment.