Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. 'siteUrl' => array(
  2. 'en' => 'http://129.0.1.67/',
  3. 'en_us' => 'http://129.0.1.67/us/',
  4. 'de' => 'http://129.0.1.67/de/',
  5. 'fr' => 'http://129.0.1.67/fr/',
  6. 'it' => 'http://129.0.1.67/it/',
  7. 'es' => 'http://129.0.1.67/es/',
  8. 'tr' => 'http://129.0.1.67/tr/',
  9. 'ru' => 'http://129.0.1.67/ru/',
  10. 'zh' => 'http://129.0.1.67/zh/'
  11. )
  12.  
  13. /**
  14. * Path to your craft/ folder
  15. */
  16. $craftPath = '../../craft';
  17.  
  18. /**
  19. * Define Craft locales
  20. */
  21. define('CRAFT_LOCALE', 'es');
  22.  
  23. /**
  24. * Define Craft Templates Path
  25. */
  26. $templatePath = '../../craft/templates';
  27. define('CRAFT_TEMPLATES_PATH', $templatePath);
  28.  
  29. root /var/www/app;
  30.  
  31.  
  32. location / {
  33. try_files $uri $uri/ @rewrites;
  34. }
  35.  
  36. location @rewrites {
  37. rewrite ^(.*) /index.php?p=$1 last;
  38. }
  39.  
  40.  
  41. location ~ .php$ {
  42. include snippets/fastcgi-php.conf;
  43. fastcgi_pass unix:/run/php/php7.0-fpm.sock;
  44. fastcgi_split_path_info ^(.+.php)(/.+)$;
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement