์๋กค๋ก์ง ๋์ค ๋์ปค guacamole ์ญ๋ฐฉํฅ ํ๋ก์ ์ค์ ํ๊ธฐ
ํ์ด์ง ์ ๋ณด
๋ณธ๋ฌธ
์ถ์ฒ:ย https://www.reddit.com/r/synology/comments/f2trly/synology_reverse_proxy_for_gaucamole/
ย
์๋กค๋ก์ง ๋์ปค์ guacamole ์ค์น ํย https://๋๋ฉ์ธ/guacamole ์ ์์ผ๋ก ์ธํด์
์ญ๋ฐฉํฅ ํ๋ก์ ์ค์ ์ด ์๋๋ ๊ฒฝ์ฐ์ ์๋ ๋ด์ฉ์ ์ ๋ ฅํด์ redirected ์ฒ๋ฆฌํ๋ค.
ย
guacamole ๋์ปค ๋ด๋ถ ์ ์ ํ ์๋ ๊ฒฝ๋ก์ index.jsp ํ์ผ ๋ง๋ ๋ค.
ย
ย /usr/local/tomcat/webapps/ROOT/index.jsp
ย
ROOT ํด๋๊ฐ ์์ผ๋ฉด ์์ฑํ๋ค.
ย
<%@ page import = "java.io.*,java.util.*" %>
<html>
<head>
<title>Page Redirection</title>
</head>
<body>
<center>
<h1>Page Redirection</h1>
</center>
<%
// New location to be redirected
String site = new String("https://INSERTDOMAIN/guacamole");
response.setStatus(response.SC_MOVED_TEMPORARILY);
response.setHeader("Location", site);
%>
</body>
</html>
๋๊ธ๋ชฉ๋ก
๋ฑ๋ก๋ ๋๊ธ์ด ์์ต๋๋ค.
