<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	댓글: ✅ Apache Reverse Proxy로 HTTP → HTTPS 변환하는 방법	</title>
	<atom:link href="https://korduck.duckdns.org/248/feed/" rel="self" type="application/rss+xml" />
	<link>https://korduck.duckdns.org/248/</link>
	<description>Raspberry Pi, Knowledge, Journey</description>
	<lastBuildDate>Wed, 09 Apr 2025 00:22:11 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>
	<item>
		<title>
		글쓴이: Joinsoo		</title>
		<link>https://korduck.duckdns.org/248/#comment-26</link>

		<dc:creator><![CDATA[Joinsoo]]></dc:creator>
		<pubDate>Thu, 27 Mar 2025 03:34:58 +0000</pubDate>
		<guid isPermaLink="false">https://korduck.duckdns.org/?p=248#comment-26</guid>

					<description><![CDATA[&lt;strong&gt;/etc/apache2/sites-available/reverse-proxy.conf&lt;/strong&gt;

&lt;VirtualHost *:443&gt;
    ServerName proxy.your-ssl_domain

    # SSL 설정 (Let&#039;s Encrypt 사용 가능)
    SSLEngine on
    SSLCertificateFile /etc/letsencrypt/live/your-ssl_domain/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/your-ssl_domain/privkey.pem

    # Reverse Proxy 설정
    ProxyPreserveHost On
    ProxyPass / http://your-external-site/
    ProxyPassReverse / http://your-external-site/

    # Header 설정 (보안 관련)
    &lt;IfModule mod_headers.c&gt;
        Header always set X-Frame-Options &quot;SAMEORIGIN&quot;
        Header always set Content-Security-Policy &quot;frame-ancestors &#039;self&#039; https://your-ssl_domain;&quot;
    &lt;/IfModule&gt;

    # 로그 설정
    ErrorLog ${APACHE_LOG_DIR}/reverse-proxy_error.log
    CustomLog ${APACHE_LOG_DIR}/reverse-proxy_access.log combined
&lt;/VirtualHost&gt;

&lt;VirtualHost *:80&gt;
    ServerName proxy.your-ssl_domain
    Redirect permanent / https://proxy.your-ssl_domain/
&lt;/VirtualHost&gt;]]></description>
			<content:encoded><![CDATA[<p><strong>/etc/apache2/sites-available/reverse-proxy.conf</strong></p>
<p><virtualhost *:443><br />
    ServerName proxy.your-ssl_domain</p>
<p>    # SSL 설정 (Let&#8217;s Encrypt 사용 가능)<br />
    SSLEngine on<br />
    SSLCertificateFile /etc/letsencrypt/live/your-ssl_domain/fullchain.pem<br />
    SSLCertificateKeyFile /etc/letsencrypt/live/your-ssl_domain/privkey.pem</p>
<p>    # Reverse Proxy 설정<br />
    ProxyPreserveHost On<br />
    ProxyPass / <a href="http://your-external-site/" rel="nofollow ugc">http://your-external-site/</a><br />
    ProxyPassReverse / <a href="http://your-external-site/" rel="nofollow ugc">http://your-external-site/</a></p>
<p>    # Header 설정 (보안 관련)<br />
    <ifmodule mod_headers.c><br />
        Header always set X-Frame-Options &#8220;SAMEORIGIN&#8221;<br />
        Header always set Content-Security-Policy &#8220;frame-ancestors &#8216;self&#8217; <a href="https://your-ssl_domain" rel="nofollow ugc">https://your-ssl_domain</a>;&#8221;<br />
    </ifmodule></p>
<p>    # 로그 설정<br />
    ErrorLog ${APACHE_LOG_DIR}/reverse-proxy_error.log<br />
    CustomLog ${APACHE_LOG_DIR}/reverse-proxy_access.log combined<br />
</virtualhost></p>
<p><virtualhost *:80><br />
    ServerName proxy.your-ssl_domain<br />
    Redirect permanent / <a href="https://proxy.your-ssl_domain/" rel="nofollow ugc">https://proxy.your-ssl_domain/</a><br />
</virtualhost></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
