location / {
                  proxy_set_header X-Real-IP $remote_addr;
                  proxy_set_header X-Forwarded-For $remote_addr;
                  proxy_set_header Host $http_host;
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                # proxy_pass http://127.0.0.1:1024;
                 if ($http_host = "movie.skdapp.cn") {
                      proxy_pass http://127.0.0.1:1024;
                 }
       }

 

相关文章:

  • 2021-08-02
  • 2021-07-10
  • 2021-11-23
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
猜你喜欢
  • 2021-12-19
  • 2021-09-07
  • 2021-08-10
  • 2022-02-08
  • 2021-08-08
  • 2021-05-25
相关资源
相似解决方案