makuta
V2EX  ›  问与答

关于跨域安全问题

  •  
  •   makuta · Dec 2, 2015 · 2665 views
    This topic created in 3995 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   ·   2412 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 04:46 · PVG 12:46 · LAX 20:46 · JFK 23:46
    ♥ Do have faith in what you're doing.