-
-
Save anonymous/fbc1ed56c30b1efdd0b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# ownCloud | |
## | |
server { | |
listen 80; | |
server_name oc.roundblog.net; | |
root /usr/share/nginx/www/oc.roundblog.net; | |
access_log /var/log/nginx/owncloud_error.log; | |
error_log /var/log/nginx/owncloud_error.log error; | |
index index.php; | |
client_max_body_size 1000M; # set maximum upload size | |
# deny direct access | |
location ~ ^/(data|config|\.ht|db_structure\.xml|README) { | |
deny all; | |
} | |
# default try order | |
location / { | |
try_files $uri $uri/ @webdav; | |
} | |
# owncloud WebDAV | |
location @webdav { | |
fastcgi_split_path_info ^(.+\.php)(/.*)$; | |
fastcgi_pass unix://var/run/php5-fpm-www-data.sock; | |
include fastcgi_params; | |
fastcgi_intercept_errors on; | |
} | |
# enable php | |
location ~ \.php$ { | |
fastcgi_pass unix://var/run/php5-fpm-www-data.sock; | |
include fastcgi_params; | |
fastcgi_intercept_errors on; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99.61.80.164 - - [29/Dec/2012:13:00:58 -0800] "GET /remote.php/core.css HTTP/1.1" 404 31 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.45 Safari/537.17" | |
2012/12/29 13:00:58 [error] 30288#0: *3086 FastCGI sent in stderr: "Unable to open primary script: /usr/share/nginx/www/oc.roundblog.net/favicon.ico (No such file or directory)" while reading response header from upstream, client: 99.61.80.164, server: oc.roundblog.net, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-www-data.sock:", host: "oc.roundblog.net" | |
99.61.80.164 - - [29/Dec/2012:13:00:58 -0800] "GET /favicon.ico HTTP/1.1" 404 56 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.45 Safari/537.17" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99.61.80.164 - - [29/Dec/2012:13:00:54 -0800] "GET /remote.php/core.js HTTP/1.1" 404 31 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.45 Safari/537.17" | |
2012/12/29 13:00:54 [error] 30288#0: *3086 FastCGI sent in stderr: "Unable to open primary script: /usr/share/nginx/www/oc.roundblog.net/favicon.ico (No such file or directory)" while reading response header from upstream, client: 99.61.80.164, server: oc.roundblog.net, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-www-data.sock:", host: "oc.roundblog.net" | |
99.61.80.164 - - [29/Dec/2012:13:00:54 -0800] "GET /favicon.ico HTTP/1.1" 404 56 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.45 Safari/537.17" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment