makuta
V2EX  ›  问与答

关于跨域安全问题

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