You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello . I have a trouble when I try add module upload-progress-nginx-module + upload-nginx-module.
It gives me an error : nginx: [emerg] unknown directive "upload_progress" in nginx.conf:20
http {
#reserve 1MB under the name 'uploads' to track uploads
upload_progress uploads 1m;
include mime.types;
default_type application/octet-stream;
access_log logs/access.log;
error_log logs/error_main.log;
sendfile on;
keepalive_timeout 65;
include servers/*;
} **servers/acc.conf:**
server {
listen 80; ## listen for ipv4; this line is default and implied
listen [::]:80 default_server ipv6only=on; ## listen for ipv6
root /Users/yauheni/Documents/PhpstormProjects/learning/frontend/web;
index index.html index.htm index.php;
server_name localhost;
client_max_body_size 128m;
Hello . I have a trouble when I try add module upload-progress-nginx-module + upload-nginx-module.
It gives me an error :
nginx: [emerg] unknown directive "upload_progress" in nginx.conf:20
nginx.conf:
`
worker_processes 2;
error_log logs/error.log;
error_log logs/error.log notice;
error_log logs/error.log info;
error_log logs/nginx_error_warning.log warn;
events {
worker_connections 256;
}
http {
#reserve 1MB under the name 'uploads' to track uploads
upload_progress uploads 1m;
}
**servers/acc.conf:**
server {
listen 80; ## listen for ipv4; this line is default and implied
listen [::]:80 default_server ipv6only=on; ## listen for ipv6
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ .php$ {
fastcgi_pass 127.0.0.1:9072;
autoindex on;
fastcgi_index index.php;
include fastcgi.conf;
fastcgi_param YII_ENV dev;
fastcgi_param YII_TRACE_LEVEL 3;
fastcgi_param YII_DEBUG 1;
fastcgi_read_timeout 360;
track_uploads uploads 30s;
}
location ^~ /progress {
upload_progress_json_output;
report_uploads uploads;
}
}
**nginx -V:**
--prefix=/usr/local/Cellar/nginx-full/1.17.3 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx-full/1.17.3/bin/nginx --with-cc-opt='-I/usr/local/include -I/usr/local/opt/pcre/include -I/usr/local/opt/[email protected]/include' --with-ld-opt='-L/usr/local/lib -L/usr/local/opt/pcre/lib -L/usr/local/opt/[email protected]/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --pid-path=/usr/local/var/run/nginx.pid --lock-path=/usr/local/var/run/nginx.lock --http-client-body-temp-path=/usr/local/var/run/nginx/client_body_temp --http-proxy-temp-path=/usr/local/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/usr/local/var/run/nginx/fastcgi_temp --http-uwsgi-temp-path=/usr/local/var/run/nginx/uwsgi_temp --http-scgi-temp-path=/usr/local/var/run/nginx/scgi_temp --http-log-path=/usr/local/var/log/nginx/access.log --error-log-path=/usr/local/var/log/nginx/error.log --add-module=/usr/local/share/upload-nginx-module --add-module=/usr/local/share/upload-progress-nginx-module`
MacOs Mojave 10.14.5. 16gb RAM
I follow all what wrote in README and I dont understand where is the problem. Help please !
The text was updated successfully, but these errors were encountered: