• Skip to primary navigation
  • Skip to content
  • Skip to footer
Never test
  • About
  • Categories
  • Tags
    Apache HTTP server에 CSP(Content Security Policy) header 설정
    1. Home
    2. /
    3. It
    4. /
    5. Apache HTTP server에 CSP(Content Security Policy) header 설정
    YoungSeon.Ahn

    YoungSeon.Ahn

    I am an ordinary person.

    • S.Korea
    • Twitter
    • Facebook
    • GitHub
    • Resume
    • Email

    Apache HTTP server에 CSP(Content Security Policy) header 설정

    less than 1 minute read

    httpd.conf에다가

    <IfModule mod_headers.c>
    	Header set Content-Security-Policy "media-src 'blob:'; connect-src 'self' '*.yourdomain.com'; script-src 'self';"
    </IfModule>
    

    여러 개의 옵션을 넣을 때는 “” 쌍따옴표를 잊지 말도록…

    20210723

    Tags: Apache HTTP Server

    Categories: IT

    Updated: October 1, 2021

    Share on

    Twitter Facebook LinkedIn
    Previous Next

    Leave a comment

    You may also enjoy

    병신과 머저리

    less than 1 minute read

    영화 버닝과 유사하지 않냐는 평가에 궁금하여 읽었다. 과연 비슷한 점이 있다. 두 작품 모두 현실과 꿈이 구분이 되지 않아 뒤죽박죽이 되는데, 이 간극을 해소할 길이 없다. 독자는 흩어진 현실과 환상을 뒤적여 원하는 방향으로 취사선택 하는 수 밖에 없다. 하지만 버닝에서는 이제야 ...

    The wounded

    less than 1 minute read

    I picked up this novel after hearing comparisons to the film Burning, curious to see whether the resemblance was real. It turns out that the two works do sha...

    SNI

    less than 1 minute read

    나는 지금까지 SNI(server name indicator) 에 대해 어렴풋하게나마 알고 있는줄 알았다. 그런데 aws를 사용하다 보니, 내가 sni에 대해 잘못 이해하고 있었다는 사실을 깨달았다.

    SNI

    1 minute read

    Until recently, I thought I had a rough understanding of SNI (Server Name Indication). However, while working with AWS, I realized that my understanding had ...

    • Follow:
    • Twitter
    • Facebook
    • GitHub
    • Feed
    © 2026 Never test. Powered by Jekyll & Minimal Mistakes.