diff --git a/proxy/nginx-common.conf b/proxy/nginx-common.conf index d38044d2e..6b44ecaae 100644 --- a/proxy/nginx-common.conf +++ b/proxy/nginx-common.conf @@ -82,6 +82,9 @@ location = /500.html { } # prevent users from accessing: '/dataset/new' route, 'package_create' and 'resource_create' API routes -location ~ ^/(dataset\/new|api\/action\/package_create|api\/action\/resource_create)\/? { +# location ~ ^/(dataset\/new|api\/action\/package_create|api\/action\/resource_create)\/? { +# deny all; +# } +location ~ ^/(dataset\/new)\/? { deny all; }