Fluke solves an Ajax cross-domain problem

Source: Internet
Author: User
Tags node server haproxy

This 11, ice to stroll around Europe back, back to want to flee Beijing. It hurts me to listen. This, the jet lag has not come back, she went on a business trip, in pitch north, she drove the highway, such as falling dead.

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 Olympic Village building, overlooking the Olympic Forest Park that a white, holding a Longquan Jade Cup, goods a pot just opened the old tea head, do not care.

What you see is Beijing, and I am in the capital. The day before yesterday in Thailand just under the two boxes of fruit, the entry of Yunnan, today, put me on the table in Beijing. 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 say, if csdn support markdown words how good? In the programmer's world, GitHub is almost invincible.

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

Say, 08 years ago, I like Microsoft, 11 years later I had two years of quantum physics; this April, a one-year-old Gemini man asked me, know what language should be valued now? I have no words, long time in Taoyuan, is not known to have Han, regardless of Wei Jin. Yue, JavaScript. So, I play this.

Have such a job. Write a web front end, read back-end data rendering. What a simple thing to do, yes, that's what I'm looking for. But for a novice, who knows what the hell it's like to be on the back end, so much more.

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

What do you do? No, what's 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 do guidance, encounter problems and need practical means. Nature was met.

In the beginning, there is no clue, the depression is that if I do a philosophical surrender, 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 main 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, Baidu after the people came to ignore the reason for Nginx. Or, now this set is Baidu's people left behind. Think about the choice between IIS and Apache three months ago.

I set up a node server, do my web front-end server, anyway this business is independent, I directly use a separate environment good.

These jobs are under the pressure of the unconscious choice, in fact, I was a "reverse proxy server"-ah, the original thing is reverse proxy ah ... It's fluke. It was only after hindsight that I realized it.

The details are many, with two half-days before and after. For example, the local running, hanging on the server, the middle shelf layer haproxy, there is a problem, bypassing. For example, I still naturally unnatural to use the synchronization process to see node asynchronous programming, the problem is more ruthless, and finally found. It is also a matter of the problem, after a layer of stripping before the positioning.

Have confidence in what you choose.

This is the philosophy of Cancer man.

I hung up a test service and threw it in the QQ space. From the log to see what people are used to access the mobile phone. The moment the data was presented, I pushed the front mac PRO and made tea with the ipad.

The problem is continuous, tea can not be delayed.

I hold the tea standing on the balcony, overlooking the North Five rings in the mountains and forests, Misty, is the capital, really is heaven and earth.

Fluke solves 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.