style24.conf 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. # ldapi.style24.com
  2. server {
  3. listen 80;
  4. server_name ldapi.style24.com;
  5. charset utf-8;
  6. location / {
  7. proxy_redirect off;
  8. proxy_set_header Host $host;
  9. proxy_set_header X-Real-IP $remote_addr;
  10. proxy_set_header X-Forwarded-For $remote_addr;
  11. proxy_pass http://ldapi.style24.com:8320;
  12. proxy_connect_timeout 300;
  13. proxy_send_timeout 300;
  14. proxy_read_timeout 300;
  15. send_timeout 300;
  16. }
  17. }
  18. # ldadmin.style24.com
  19. server {
  20. listen 80;
  21. server_name ldadmin.style24.com;
  22. charset utf-8;
  23. location / {
  24. proxy_redirect off;
  25. proxy_set_header Host $host;
  26. proxy_set_header X-Real-IP $remote_addr;
  27. proxy_set_header X-Forwarded-For $remote_addr;
  28. proxy_pass http://ldadmin.style24.com:8321;
  29. proxy_connect_timeout 300;
  30. proxy_send_timeout 300;
  31. proxy_read_timeout 300;
  32. send_timeout 300;
  33. }
  34. }
  35. # ldfront.style24.com
  36. server {
  37. listen 80;
  38. server_name ldfront.style24.com;
  39. charset utf-8;
  40. location / {
  41. proxy_redirect off;
  42. proxy_set_header Host $host;
  43. proxy_set_header X-Real-IP $remote_addr;
  44. proxy_set_header X-Forwarded-For $remote_addr;
  45. proxy_pass http://ldfront.style24.com:8322;
  46. proxy_connect_timeout 300;
  47. proxy_send_timeout 300;
  48. proxy_read_timeout 300;
  49. send_timeout 300;
  50. }
  51. }
  52. # ldscm.style24.com
  53. server {
  54. listen 80;
  55. server_name ldscm.style24.com;
  56. charset utf-8;
  57. location / {
  58. proxy_redirect off;
  59. proxy_set_header Host $host;
  60. proxy_set_header X-Real-IP $remote_addr;
  61. proxy_set_header X-Forwarded-For $remote_addr;
  62. proxy_pass http://ldscm.style24.com:8323;
  63. proxy_connect_timeout 300;
  64. proxy_send_timeout 300;
  65. proxy_read_timeout 300;
  66. send_timeout 300;
  67. }
  68. }
  69. # ldimage.style24.com
  70. server {
  71. listen 80;
  72. server_name ldimage.style24.com;
  73. charset utf-8;
  74. location / {
  75. root d:/WIDE/workspace/files/data/style24;
  76. }
  77. }