Fluke overcomes an Ajax cross-domain problem

Source: Internet
Author: User
Tags haproxy

This 11, ice to stroll around Europe back, back to want to flee Beijing.

It was very painful for me to listen. This time, the jet lag has not come back. She went on a business trip again. In the pitch of north China. She drove a fast road, such as falling to death.

I sent a picture of the city of Beijing in Wonderland, so that the smile of Xiamen and Shenzhen sprayed.

I stand alone in the building of the Olympic Village. Overlooking the Olympic Forest Park that a white. Holding the Longquan Jade Cup, the product of a pot just opened the old tea head, do not care.

What you see is Beijing. And I was in the capital. The day before yesterday in Thailand just under two boxes of fruit. Yesterday came to Yunnan. Put me on the table in Beijing today. In the morning Hubei Enshi just out of the ice water lotus seeds, noon in my Beijing desktop. The cupboard is hidden in the old Ban Chang, the purple Juan ... and parcel fuding wild white tea ...

And I said to the ice, we are in Beijing, but far from the capital. Beijing is just a city, and the capital is a world.

Australia? The dilapidated agrarian country, the criminals started.

In our parents ' generation, China was also an agrarian country.

------------------------------------------------------

Baby blame I did not show her the park morning photo, I said not I do not want to show you, there is nothing to look at ... I photographed her, she looked, really do not see anything ...

------------------------------------------------------

You said. How good would it be if CSDN supported Markdown? In the World of procedural apes, GitHub is almost invincible.

------------------------------------------------------

Say, 08 years ago, I like Microsoft. 11 years later, I've been doing quantum physics for two years. In April of this year, a one-year-old Gemini man asked me what languages should be valued today? I have no words. Long time in Taoyuan. It is not known that there is Han, regardless of Wei Jin.

Said. Javascript. So, I play this.

Have such a job.

Write a web front end. Read back-end data rendering. How simple things are. Yes, that's the way I look at it. Just for a novice, who the mother knows once the back end, the matter so much.

The backend is now in the control of PHP. Although I am incompetent as a fresh student to do the architecture arrangement, I have the opportunity to separate my work. So I politely rejected the PHP program. Colleague is aware that I must use JS, said, Ajax has a cross-domain problem. What to do?

What do you do? No. What is a cross-domain problem? I filtered it directly.

I'm a cancer man. I believe in absolute strength.

This is also the cancer woman's philosophical choice, so I will not consider marrying the cancer girl.

Philosophy. Is the guide of life--of course, can only guide, encounter problems and need practical means. Nature was met.

The beginning or the lack of a clue, the depression is that I assume that the surrender of philosophy, it means that I lost the meaning of survival in the team.

A Cancer man and I, my age, outlined the next cross-domain thing.

I like to communicate with the cancer man, in the field of good, can hit the key points, comprehensive and meticulous.

A man of my age, the Aquarius, gave me a neat plan. I like to communicate with Aquarius Man, go straight, don't care.

I do not want to control PHP that set is how to do, even nginx I do not want to. Server Management Right in my hand, haproxy in my hand, I can be very flexible.

About Haproxy and Nginx. I chose the former. There is no reason. Nginx can do, I have node. Of course, the team also used Apache. After the people in Baidu came to the manager after the reason is the nginx. Or, now this is a set of Baidu people to stay. Think about the choice between IIS and Apache three months ago.

I made a nodeserver. Do my this web front-end server, anyway this piece of business is independent, I directly use a separate environment good.

The work is a matter of unconscious choice under pressure, in fact. I am a "reverse proxy server"-ah, it turns out this thing is a reverse proxy ah ... It's fluke.

It was only after hindsight that I realized it.

The details are very numerous, with two half-days before and after.

Let's say that the local run-through, hangs on the server. The middle frame has a layer of haproxy. There's a problem, get around.

Again, for example. I still naturally unnatural to use the synchronous process to view the asynchronous programming of node, this problem is more ruthless, and finally found. is also under the problem. A layer of layers is stripped before it is positioned.

Have confidence in what you choose.

This is the philosophy of Cancer man.

I hung a test service to throw in the QQ space.

From the log to see people are using what mobile access to ask. The moment the data is presented. I pushed the front mac PRO and made tea with the ipad.

The problem is continuous, tea can not be delayed.

I stood on the balcony with tea. Overlooking the northern Five rings of mountains and forests, Misty, is the capital, it is heaven and earth.

Fluke overcomes an Ajax cross-domain problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.