makuta
V2EX  ›  问与答

关于跨域安全问题

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