From bb003fd283a96ad35e7356ea1940a01cf65cd687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B3=80=EC=A0=95=ED=9B=88?= Date: Mon, 30 Jan 2023 08:26:50 +0000 Subject: [PATCH] =?UTF-8?q?=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8=20'README.?= =?UTF-8?q?md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README.md b/README.md index 0da6a1a..d219aee 100644 --- a/README.md +++ b/README.md @@ -73,4 +73,37 @@ podman run --network guaca --name hypermole \ - 해당 커맨드는 tmaxcloud platform ps팀에서 사용하기 위해 작성자가 수정한 이미지 - 순수 guacamole 같은 경우 guacamole/guacamole:1.4.0 을 사용 +## Nginx 설정 +``` +server { + server_name hypermole.jhcloud.kr; + location / { + #proxy_pass_request_headers on; + #proxy_ssl_verify off; + #proxy_pass http://127.0.0.1:7900; + #proxy_set_header Host $host; + #proxy_set_header X-Forwarded-Proto https; + #proxy_set_header X-Real-IP $remote_addr; + #proxy_set_header X-Forwarded-for $remote_addr; + #proxy_hide_header X-Frame-Options; + proxy_pass http://localhost:7900; + proxy_buffering off; + proxy_http_version 1.1; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_cookie_path /guacamole/ /new-path/; + access_log off; + } + + + listen 443 ssl; # managed by Certbot + ssl_certificate_key /home/ps-ftp/ssl/jhcloud.kr.key; + ssl_certificate /home/ps-ftp/ssl/fullchain.cer; + # other details, filled by Certbot + +} +``` +- guacamole 같은 경우 위와 같이 설정을 해야함 +