Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. server {
  2. listen 80 default_server;
  3. listen [::]:80 default_server;
  4. server_name shapecloud.creativefabrica.com
  5. root /var/www/public;
  6. index index.php index.html index.htm;
  7.  
  8. location / {
  9. allow 62.68.119.163;
  10. deny all;
  11.  
  12. try_files $uri $uri/ /index.php$is_args$args;
  13. }
  14.  
  15. location ~ \.php$ {
  16. try_files $uri /index.php =404;
  17. fastcgi_pass php-upstream;
  18. fastcgi_index index.php;
  19. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  20. include fastcgi_params;
  21. }
  22.  
  23. location ~ /\.ht {
  24. deny all;
  25. }
  26.  
  27. error_page 403 https://www.creativefabrica.com;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement