search

Home  >  Q&A  >  body text

phpstudy nginx wants to enable multiple IPs to monitor the same port and access different directories.

How to configure?

UvUv2590 days ago1496

reply all(2)I'll reply

  • lmaster

    lmaster2017-10-27 11:18:27

    This is nginx reverse proxy

    If you have an nginx server

    ip 10.222.13.10 open port 80

    There are two other servers apache, nginx and so on web server (either local area network or external network)

    192.168.4.69:80

    192.168.4.68:80

    http{

    upstream proxy_test {

                                                                                                                                                                              use using using using using out out out off out out out out out out out out out of out of ’'s in ’ under in 192.168-A------ server 192.168.4.69:80 weight=1;

                      #ip_hash;

        }

    phpstudy nginx wants to implement multiple IPs to monitor the same port and access different directories

    I don’t quite understand your problem description. This is an understanding of your problem. I hope you can explain it more clearly. . . . .

    reply
    0
  • Day

    Day2017-10-26 10:56:43

    Currently, multiple domain names can access the same server.

    reply
    0
  • Cancelreply