Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server{
- listen 8081;
- location ~/owncloud/(.*)$ {
- root /var/www/owncloud;
- index index.php index.html index.html;
- }
- location ~ \.php$ {
- fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param REQUEST_METHOD POST;
- fastcgi_param REQUEST_URI $uri;
- include fastcgi_params;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement