Create a website that allows extranet users to see content on the intranet site

Source: Internet
Author: User
Tags nginx reverse proxy
The existing server can access both inside and outside the network, can also be accessed by the extranet, binding the domain name. Intranet has a Web site to allow users to access the network (assuming the user killed without a VPN), as follows.

Intranet site address such ashttp://192.168.1.2/index.php
When an extranet user accesses my server http://mydomain.me/index.php , they can see and operate the same Web page as the intranet, and it will be reflected on the intranet (within a few minutes of delay, preferably in real time).

A similar scheme, just for the convenience of understanding: when the external network sent a request, the server by HttpRequest requesting the corresponding address of the intranet (after the domain name of the full index.php stitching to the http://192.168.1.2/ back), and then the results of the received part of the 192.168.1.2 changes to their own domain name. So the HTML content is forwarded.

Pictures can not be turned around, but this site is not only a single request on the line, but also need to login ... I can't do this.

Web experience is not much, do not know whether they want to complicate, I hope you are not hesitate to enlighten ~

Just think of a train of thought, do not know if there is feasibility, have this kind of experience, hope to provide a little guidance, to point key words can, again thanks:

    1. Let the user provide their login password for the account, "queued appointment."
    2. Server In addition to the Web services to run another two programs, one processing reservation queue, each with their account password log in the intranet to fill in the specific items to remember.
    3. After the completion of their own according to the above to fill the required fields to write a page for users to fill.
    4. Fill in the "Pending queue".
    5. Another program to process the "pending queue" in the completion of the results, fill in the intranet server.

Reply content:

The existing server can access both inside and outside the network, can also be accessed by the extranet, binding the domain name. Intranet has a Web site to allow users to access the network (assuming the user killed without a VPN), as follows.

Intranet site address such ashttp://192.168.1.2/index.php
When an extranet user accesses my server http://mydomain.me/index.php , they can see and operate the same Web page as the intranet, and it will be reflected on the intranet (within a few minutes of delay, preferably in real time).

A similar scheme, just for the convenience of understanding: when the external network sent a request, the server by HttpRequest requesting the corresponding address of the intranet (after the domain name of the full index.php stitching to the http://192.168.1.2/ back), and then the results of the received part of the 192.168.1.2 changes to their own domain name. So the HTML content is forwarded.

Pictures can not be turned around, but this site is not only a single request on the line, but also need to login ... I can't do this.

Web experience is not much, do not know whether they want to complicate, I hope you are not hesitate to enlighten ~

Just think of a train of thought, do not know if there is feasibility, have this kind of experience, hope to provide a little guidance, to point key words can, again thanks:

    1. Let the user provide their login password for the account, "queued appointment."
    2. Server In addition to the Web services to run another two programs, one processing reservation queue, each with their account password log in the intranet to fill in the specific items to remember.
    3. After the completion of their own according to the above to fill the required fields to write a page for users to fill.
    4. Fill in the "Pending queue".
    5. Another program to process the "pending queue" in the completion of the results, fill in the intranet server.

Nginx Reverse Proxy

Can you understand that a set of programs binds two domain names?

Simply try the Nginx forward

    server {        listen       80;        server_name  tt.me;        location / {            proxy_pass http://t.me;        }    }

Can forward:)

Intranet map can also Ah, intranet penetration, with Baidu to check the relevant content to know

  • 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.