Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: nginx error "location" directive is not allowed here in

$
0
0
itpp2012 Wrote:
-------------------------------------------------------
> location is only allowed in server {} blocks.

I have dealt with it, Thanks!!! Now gives an error message

nginx [45012]: nginx: [emerg] of invalid log level of "proxy_connect_timeout" in/etc/nginx/sites-enabled/nextcloud:126
Sep of the 25th 6:02:45 PM nextcloud nginx [45012]: nginx: configuration file/etc/nginx/nginx.conf test failed

Parameter in a config

proxy_connect_timeout 7200;
proxy_send_timeout 7200;
proxy_read_timeout 7200;
send_timeout 7200;

Here I won't understand any more where to expose this level of the log?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>