mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-19 18:36:09 +02:00
Update nginx.conf
Delete ocm path analogous to changes in 800ab9726b
Signed-off-by: cehser <cehser@gmail.com>
This commit is contained in:
parent
d1dbc77e0b
commit
791b43739c
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ http {
|
||||||
# that file is correctly served; if it doesn't, then the request is passed to
|
# that file is correctly served; if it doesn't, then the request is passed to
|
||||||
# the front-end controller. This consistent behaviour means that we don't need
|
# the front-end controller. This consistent behaviour means that we don't need
|
||||||
# to specify custom rules for certain paths (e.g. images and other assets,
|
# to specify custom rules for certain paths (e.g. images and other assets,
|
||||||
# `/updater`, `/ocm-provider`, `/ocs-provider`), and thus
|
# `/updater`, `/ocs-provider`), and thus
|
||||||
# `try_files $uri $uri/ /index.php$request_uri`
|
# `try_files $uri $uri/ /index.php$request_uri`
|
||||||
# always provides the desired behaviour.
|
# always provides the desired behaviour.
|
||||||
index index.php index.html /index.php$request_uri;
|
index index.php index.html /index.php$request_uri;
|
||||||
|
@ -128,7 +128,7 @@ http {
|
||||||
# to the URI, resulting in a HTTP 500 error response.
|
# to the URI, resulting in a HTTP 500 error response.
|
||||||
location ~ \.php(?:$|/) {
|
location ~ \.php(?:$|/) {
|
||||||
# Required for legacy support
|
# Required for legacy support
|
||||||
rewrite ^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy) /index.php$request_uri;
|
rewrite ^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|.+\/richdocumentscode\/proxy) /index.php$request_uri;
|
||||||
|
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
set $path_info $fastcgi_path_info;
|
set $path_info $fastcgi_path_info;
|
||||||
|
|
Loading…
Add table
Reference in a new issue