Kay0u
6 years ago
No known key found for this signature in database
GPG Key ID: AAFEEB16CFA2AE2D
1 changed files with
3 additions and
3 deletions
-
conf/nginx.conf
|
|
@ -78,8 +78,8 @@ location ^~ __PATH__/ { |
|
|
deny all; |
|
|
deny all; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
location ~ ^__PATH__/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy)\.php(\/.*|)$ { |
|
|
|
|
|
fastcgi_split_path_info ^(.+?\.php)(/.*|)$; |
|
|
|
|
|
|
|
|
location ~ ^__PATH__/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy)\.php(?:$|\/) { |
|
|
|
|
|
fastcgi_split_path_info ^(.+?\.php)(\/.*|)$; |
|
|
set $path_info $fastcgi_path_info; |
|
|
set $path_info $fastcgi_path_info; |
|
|
try_files $fastcgi_script_name =404; |
|
|
try_files $fastcgi_script_name =404; |
|
|
include fastcgi_params; |
|
|
include fastcgi_params; |
|
|
@ -139,7 +139,7 @@ location ^~ __PATH__/ { |
|
|
access_log off; |
|
|
access_log off; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
location ~* \.(?:png|html|ttf|ico|jpg|jpeg|bcmap|mp4|webm)$ { |
|
|
|
|
|
|
|
|
location ~ ^__PATH__/.+[^\/]\.(?:png|html|ttf|ico|jpg|jpeg|bcmap|mp4|webm)$ { |
|
|
try_files $uri __PATH__/index.php$request_uri; |
|
|
try_files $uri __PATH__/index.php$request_uri; |
|
|
# Optional: Don't log access to other assets |
|
|
# Optional: Don't log access to other assets |
|
|
access_log off; |
|
|
access_log off; |
|
|
|