"js_import" is not allowed here, "js_content" is unknown

2022-03-31 Thread Sören Reinecke
inx/nginx.conf:15 and about unknown directive "js_content" in /etc/nginx/conf.d/app.conf:7 The file '/etc/nginx/conf.d/app.conf' contains the following server {     listen 80;     location /njs {    js_content http.hello ; #        root /var/www/html ;     }

Re: "js_import" is not allowed here, "js_content" is unknown

2022-03-31 Thread Sören Reinecke
Oh thx. This error comes from too much changes. On Thu, 31 Mar 2022, 20:53 Sergey A. Osokin, wrote: > On Thu, Mar 31, 2022 at 08:09:25PM +0200, Sören Reinecke wrote: > > Hello NGINX community, > > > > nginx gives me the error messages > > - "js_imp