Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.41 KB | None | 0 0
  1. server{
  2. listen 8081;
  3.  
  4. location ~/owncloud/(.*)$ {
  5. root /var/www/owncloud;
  6. index index.php index.html index.html;
  7.  
  8. }
  9.  
  10. location ~ \.php$ {
  11.     fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
  12.     fastcgi_index index.php;
  13.     fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  14.     fastcgi_param REQUEST_METHOD POST;
  15.     fastcgi_param REQUEST_URI $uri;
  16.     include fastcgi_params;
  17. }
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement