<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>이것저것</title>
    <link>https://behonestar.tistory.com/</link>
    <description>개인적인 기록 공간...</description>
    <language>ko</language>
    <pubDate>Sun, 26 Jul 2026 15:14:26 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>behonestar</managingEditor>
    <image>
      <title>이것저것</title>
      <url>https://t1.daumcdn.net/cfile/tistory/2632684858BCC97B33</url>
      <link>https://behonestar.tistory.com</link>
    </image>
    <item>
      <title>SSL 인증서와 인증 방식</title>
      <link>https://behonestar.tistory.com/329</link>
      <description>&lt;p&gt;&lt;figure class=&quot;imageblock alignCenter&quot; data-origin-width=&quot;0&quot; data-origin-height=&quot;0&quot; data-ke-mobilestyle=&quot;widthContent&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/bI7LCS/btqECLXCNtX/d2AD25iE4839Odx7HFBzqk/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/bI7LCS/btqECLXCNtX/d2AD25iE4839Odx7HFBzqk/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/bI7LCS/btqECLXCNtX/d2AD25iE4839Odx7HFBzqk/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbI7LCS%2FbtqECLXCNtX%2Fd2AD25iE4839Odx7HFBzqk%2Fimg.png&quot; data-origin-width=&quot;0&quot; data-origin-height=&quot;0&quot; data-ke-mobilestyle=&quot;widthContent&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;/p&gt;</description>
      <category>Network</category>
      <author>behonestar</author>
      <guid isPermaLink="true">https://behonestar.tistory.com/329</guid>
      <comments>https://behonestar.tistory.com/329#entry329comment</comments>
      <pubDate>Thu, 4 Jun 2020 14:08:53 +0900</pubDate>
    </item>
    <item>
      <title>비밀번호 규칙 정규식</title>
      <link>https://behonestar.tistory.com/307</link>
      <description>&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;대문자, 소문자, 숫자를 포함한 8자리 이상 비밀번호 규칙&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre id=&quot;code_1574043901803&quot; class=&quot;html xml&quot; data-ke-language=&quot;html&quot; data-ke-type=&quot;codeblock&quot;&gt;&lt;code&gt;/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])/&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>Javascript</category>
      <author>behonestar</author>
      <guid isPermaLink="true">https://behonestar.tistory.com/307</guid>
      <comments>https://behonestar.tistory.com/307#entry307comment</comments>
      <pubDate>Mon, 18 Nov 2019 10:57:21 +0900</pubDate>
    </item>
    <item>
      <title>Date 문자열(RFC822)을 UTC Timestamp로 변경</title>
      <link>https://behonestar.tistory.com/304</link>
      <description>&lt;pre id=&quot;code_1556029525021&quot; class=&quot;python&quot; data-ke-type=&quot;codeblock&quot;&gt;&lt;code&gt;rfc822_date = 'Wed, 21 Oct 2015 07:28:00 GMT'
timestamp = email.utils.mktime_tz((email.utils.parsedate_tz(rfc822_date))) --&amp;gt; 1445412480&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>Python</category>
      <author>behonestar</author>
      <guid isPermaLink="true">https://behonestar.tistory.com/304</guid>
      <comments>https://behonestar.tistory.com/304#entry304comment</comments>
      <pubDate>Tue, 23 Apr 2019 23:26:47 +0900</pubDate>
    </item>
    <item>
      <title>mount시 access time 기록하지 않도록 설정하기</title>
      <link>https://behonestar.tistory.com/302</link>
      <description>&lt;p&gt;noatime 옵션을 주면 파일을 read해도 access time이 업데이트되지 않기 때문에 불필요한 쓰기가 발생하지 않는다.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;mount -t ext4 -o &lt;b&gt;noatime&lt;/b&gt; /dev/mmcblk0p22 /common&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>Linux</category>
      <author>behonestar</author>
      <guid isPermaLink="true">https://behonestar.tistory.com/302</guid>
      <comments>https://behonestar.tistory.com/302#entry302comment</comments>
      <pubDate>Wed, 13 Mar 2019 09:04:48 +0900</pubDate>
    </item>
    <item>
      <title>vscode tabsize 변경</title>
      <link>https://behonestar.tistory.com/262</link>
      <description>&lt;p&gt;1. File &amp;gt; Preference &amp;gt; Settings &amp;gt; ... &amp;gt; Open settings.json&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 570px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/99D11C475BA3154619&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F99D11C475BA3154619&quot; width=&quot;570&quot; height=&quot;182&quot; filename=&quot;settings.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. WORKSPACE SETTINGS 탭으로 이동&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 570px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/998C15445BA3157109&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F998C15445BA3157109&quot; width=&quot;570&quot; height=&quot;88&quot; filename=&quot;settings2.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. 원하는 설정 입력&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &quot;editor.detectIndentation&quot;: false,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &quot;editor.tabSize&quot;: 2&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>Vue.js</category>
      <author>behonestar</author>
      <guid isPermaLink="true">https://behonestar.tistory.com/262</guid>
      <comments>https://behonestar.tistory.com/262#entry262comment</comments>
      <pubDate>Thu, 20 Sep 2018 12:36:12 +0900</pubDate>
    </item>
    <item>
      <title>AWS STS 임시자격증명 발행하기 (boto3)</title>
      <link>https://behonestar.tistory.com/242</link>
      <description>&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt; 정책 생성&lt;/b&gt;&lt;/p&gt;&lt;p&gt;- S3에 PutObject 허용하는 정책&amp;nbsp;생성&lt;/p&gt;&lt;p&gt;- 정책 이름 : S3PutObject&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &quot;Version&quot;: &quot;2012-10-17&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &quot;Statement&quot;: [&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;Sid&quot;: &quot;VisualEditor0&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;Effect&quot;: &quot;Allow&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;Action&quot;: &quot;s3:PutObject&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;Resource&quot;: &quot;arn:aws:s3:::*/*&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; ]&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/span&gt; 사용자 생성&lt;/b&gt;&lt;/p&gt;&lt;p&gt;- testuser&lt;/p&gt;&lt;p&gt;- 로그인 비밀번호, 권한 없이 생성&lt;/p&gt;&lt;p&gt;- 사용자 ARN 확인 (arn:aws:iam:...)&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 570px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/99684A435B581FF218&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F99684A435B581FF218&quot; width=&quot;570&quot; height=&quot;150&quot; filename=&quot;3.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;b&gt;역할 생성 (사용자와 정책 맵핑)&lt;/b&gt;&lt;/p&gt;&lt;p&gt;- 신뢰할 수 있는 유형의 개체 : 아무거나 선택 (나중에 편집해야 함)&lt;/p&gt;&lt;p&gt;- 정책 : S3PutObject&lt;/p&gt;&lt;p&gt;- 역할 이름 : Device-Role&lt;/p&gt;&lt;p&gt;- 역할 생성 후 [신뢰 관계 편집]하여 사용자 ARN 등록&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;&amp;nbsp; &quot;Version&quot;: &quot;2012-10-17&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &quot;Statement&quot;: [&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;Effect&quot;: &quot;Allow&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;Principal&quot;: {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;AWS&quot;: &quot;&lt;span style=&quot;background-color: rgb(140, 252, 203); color: rgb(0, 0, 0);&quot;&gt;arn:aws:iam::************:user/testuser&lt;/span&gt;&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;Action&quot;: &quot;sts:AssumeRole&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp; ]&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;- 역할 ARN 확인 (arn:aws:iam:...)&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 570px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/9904CE395B5824A51C&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F9904CE395B5824A51C&quot; width=&quot;570&quot; height=&quot;187&quot; filename=&quot;4.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;b&gt;임시자격증명 발행&lt;/b&gt;&lt;/p&gt;&lt;p&gt;- testuser의 access key와 secret key 입력&lt;/p&gt;&lt;p&gt;- 역할 ARN 입력&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;import boto3&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;aws_access_key_id = '&lt;span style=&quot;background-color: rgb(140, 252, 203); color: rgb(0, 0, 0);&quot;&gt;***&lt;/span&gt;'&lt;/p&gt;&lt;p&gt;aws_secret_access_key = '&lt;span style=&quot;background-color: rgb(140, 252, 203); color: rgb(0, 0, 0);&quot;&gt;***&lt;/span&gt;'&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;if __name__ == '__main__':&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; client = boto3.client('sts',&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aws_access_key_id=aws_access_key_id,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aws_secret_access_key=aws_secret_access_key)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; response = client.assume_role(&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RoleArn='&lt;span style=&quot;background-color: rgb(140, 252, 203); color: rgb(0, 0, 0);&quot;&gt;arn:aws:iam::************:role/Device-Role&lt;/span&gt;',&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RoleSessionName='ExampleSessionName')&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; tmp_access_key = response['Credentials']['AccessKeyId']&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; tmp_secret_key = response['Credentials']['SecretAccessKey']&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; print(tmp_access_key, tmp_secret_key)&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;실행 결과&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;* temp access key: ASIA4JXH***MYOWS3WA&lt;/p&gt;&lt;p&gt;* temp secret key: 843oWl9i***MU/Oo0IzBNK9llcTJvF4lh***u9lh&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <author>behonestar</author>
      <guid isPermaLink="true">https://behonestar.tistory.com/242</guid>
      <comments>https://behonestar.tistory.com/242#entry242comment</comments>
      <pubDate>Wed, 25 Jul 2018 16:27:33 +0900</pubDate>
    </item>
    <item>
      <title>윈도우10 윈도우 왼쪽, 오른쪽 정렬 시 다른 윈도우 선택하는 옵션 끄기</title>
      <link>https://behonestar.tistory.com/241</link>
      <description>&lt;p&gt;1. 시작 &amp;gt; &quot;멀티태스킹 설정&quot; 입력&lt;/p&gt;&lt;p&gt;2. &quot;창을 끌 때 창 옆으로 끌어올 수 있는 ...&quot; 끄기&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 570px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/995B03435B57FF851A&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F995B03435B57FF851A&quot; width=&quot;570&quot; height=&quot;445&quot; filename=&quot;2.png&quot; filemime=&quot;image/jpeg&quot; style=&quot;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <author>behonestar</author>
      <guid isPermaLink="true">https://behonestar.tistory.com/241</guid>
      <comments>https://behonestar.tistory.com/241#entry241comment</comments>
      <pubDate>Wed, 25 Jul 2018 13:41:47 +0900</pubDate>
    </item>
    <item>
      <title>rabbitmq logrotate 설정</title>
      <link>https://behonestar.tistory.com/237</link>
      <description>&lt;p&gt;Ubuntu 16.04 기준&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;vi /etc/logrotate.d/rabbitmq-server&lt;/p&gt;&lt;p&gt;────────────────────────&lt;/p&gt;&lt;p&gt;/var/log/rabbitmq/*.log {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; weekly&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; missingok&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rotate 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compress&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delaycompress&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; notifempty&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sharedscripts&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; postrotate&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /etc/init.d/rabbitmq-server rotate-logs &amp;gt; /dev/null&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; endscript&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <author>behonestar</author>
      <guid isPermaLink="true">https://behonestar.tistory.com/237</guid>
      <comments>https://behonestar.tistory.com/237#entry237comment</comments>
      <pubDate>Thu, 5 Jul 2018 17:54:54 +0900</pubDate>
    </item>
    <item>
      <title>[nginx] https 적용하기</title>
      <link>https://behonestar.tistory.com/230</link>
      <description>&lt;p&gt;키 파일 생성&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;openssl req -new -newkey rsa:2048 -nodes -keyout &lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;foobar.key&lt;/span&gt; -out foobar.csr&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;인증서 생성&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;openssl x509 -req -days 365 -in foobar.csr -signkey foobar.key -out &lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;foobar.crt&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;키 파일과 인증서 복사&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;chmod 666 foobar.*&lt;/p&gt;&lt;p&gt;cp foobar.key foobar.crt /var/www&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;nginx 설정&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;vi /etc/nginx/sites-enabled/myconf&lt;/p&gt;&lt;p&gt;──────────────────────&lt;/p&gt;&lt;p&gt;server {&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listen 8443;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ssl on;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ssl_certificate /var/www/foobar.crt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ssl_certificate_key /var/www/foobar&lt;/span&gt;&lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;.key;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; server_name mysite;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; location / {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;nginx 재시작&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;sudo service nginx restart&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;끝.&lt;/p&gt;</description>
      <category>Linux</category>
      <author>behonestar</author>
      <guid isPermaLink="true">https://behonestar.tistory.com/230</guid>
      <comments>https://behonestar.tistory.com/230#entry230comment</comments>
      <pubDate>Fri, 22 Jun 2018 14:58:42 +0900</pubDate>
    </item>
    <item>
      <title>[nginx] digest 인증 적용하기</title>
      <link>https://behonestar.tistory.com/229</link>
      <description>&lt;p&gt;ubuntu 16.04 기준으로 작성&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;nginx 소스코드 내려받기&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;sudo apt-get install build-essential&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;sudo apt-get build-dep nginx&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;sudo apt-get source nginx&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;digest 모듈 내려받고 압축풀기&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;wget https://github.com/samizdatco/nginx-http-auth-digest/tarball/master -O - | tar zxvf -&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;cp -r samizdatco-nginx-http-auth-digest-* nginx-*/debian/modules/nginx-http-auth-digest&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;빌드 옵션에 digest 모듈 추가&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;cd nginx-*&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;vim debian/rules&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;full_configure_flags := \&lt;/p&gt;&lt;p&gt;　　...&lt;/p&gt;&lt;p&gt;　　&lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;--add-module=$(MODULESDIR)/nginx-http-auth-digest \&lt;/span&gt;&lt;/p&gt;&lt;p&gt;　　...&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;빌드 및 설치&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;dpkg-buildpackage -rfakeroot&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;dpkg -i ../nginx-common_* ../nginx-full_*&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;digest password 파일 생성&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;cd&amp;nbsp;nginx-*/debian/modules/nginx-http-auth-digest&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;htdigest.py passwd.digest khb 'digestauthrealm'&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;mv passwd.digest /var/www&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;digest 설정&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;vi&amp;nbsp;/etc/nginx/site-enabled/*&lt;/p&gt;&lt;p&gt;──────────────────────&lt;/p&gt;&lt;p&gt;server {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listen 80 default_server;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listen [::]:80 default_server;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; server_name mysite;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; auth_digest_user_file /var/www/passwd.digest;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; location / {&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; auth_digest 'digestauthrealm';&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;}&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;끝.&lt;/p&gt;</description>
      <category>Linux</category>
      <author>behonestar</author>
      <guid isPermaLink="true">https://behonestar.tistory.com/229</guid>
      <comments>https://behonestar.tistory.com/229#entry229comment</comments>
      <pubDate>Fri, 22 Jun 2018 13:07:22 +0900</pubDate>
    </item>
  </channel>
</rss>