makuta
V2EX  ›  问与答

关于跨域安全问题

  •  
  •   makuta · Dec 2, 2015 · 2538 views
    This topic created in 3948 days ago, the information mentioned may be changed or developed.
    nginx add_header 如何指定允许的多个 url



    add_header Access-Control-Allow-Origin $http_origin; 我现在加的这个,但对$http_origin 判断不知道为什么没用
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3494 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 10:28 · PVG 18:28 · LAX 03:28 · JFK 06:28
    ♥ Do have faith in what you're doing.