Guest User

Untitled

a guest
Nov 21st, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. $config = <<<EOI
  2. server {
  3. listen {$site->IP()->IP}:80;
  4. server_name {$hostname};
  5. root /data/userhomes/{$site->PathName};
  6.  
  7. location / {
  8. index /nimbler_cms/sapphire/main.php;
  9. try_files \$uri /nimbler_cms\$uri /nimbler_cms/sapphire/main.php?url=\$request_uri&\$args;
  10. }
  11.  
  12. location ~ globdat {
  13. allow <redacted>;
  14. deny all;
  15. }
  16.  
  17. location = /_.gif {
  18. empty_gif;
  19. }
  20.  
  21. location ~ \.php$ {
  22. fastcgi_pass 127.0.0.1:2100;
  23. fastcgi_index index.php;
  24. fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
  25. include fastcgi_params;
  26. }
  27. }
  28. EOI;
Add Comment
Please, Sign In to add comment