Advertisement
Guest User

Untitled

a guest
Mar 12th, 2014
1,080
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. server {
  2. server_name www.domain.com;
  3. root /var/www;
  4. access_log /var/log/nginx/domain.access.log;
  5. error_log /var/log/nginx/domain.error.log;
  6. include global/common.conf;
  7. include global/wordpress.conf;
  8.  
  9. location /site1 {
  10. index index.php;
  11. rewrite ^/csr/(.*)+$ /site1/index.php?$1;
  12. access_log /var/log/nginx/site1.access.log;
  13. error_log /var/log/nginx/site2.error.log;
  14. }
  15.  
  16. location /site2 {
  17. index index.php;
  18. rewrite ^/csr/(.*)+$ /site1/index.php?$1;
  19. access_log /var/log/nginx/site1.access.log;
  20. error_log /var/log/nginx/site2.error.log;
  21. }
  22.  
  23. location /site3 {
  24. index index.php;
  25. rewrite ^/csr/(.*)+$ /site1/index.php?$1;
  26. access_log /var/log/nginx/site1.access.log;
  27. error_log /var/log/nginx/site2.error.log;
  28. }
  29.  
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement