Multi-project cross-domain ajax implementation under nginx nginx restart nginx how to read nginx tomca

WBOY
Release: 2016-07-29 08:53:02
Original
1155 people have browsed it

Add code in the middle of http{} in the nginx.conf file in the conf directory. The principle used is nginx's reverse proxy

<code>    add_header Access<span>-Control</span><span>-Allow</span><span>-Origin</span><span>*</span>;
    add_header Access<span>-Control</span><span>-Allow</span><span>-Headers</span> X<span>-Requested</span><span>-With</span>;
    add_header Access<span>-Control</span><span>-Allow</span><span>-Methods</span> GET,POST,OPTIONS;</code>
Copy after login
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces the multi-project cross-domain ajax implementation under nginx, including the content of nginx and ajax. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template