This repository has been archived by the owner on Aug 20, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 11
nginx conf. #576
Comments
Did you install https://github.com/kaltura/nginx-vod-module? |
I guess. Yes. I did this again but I could not find '/etc/nginx/sites/mediadb-vod.conf' . cd down-folder
wget https://nginx.org/download/nginx-1.20.2.tar.gz
tar -zxvf nginx-1.20.2.tar.gz
git clone https://github.com/kaltura/nginx-secure-token-module.git
git clone https://github.com/kaltura/nginx-vod-module.git
apt install -y libpcre3 libpcre3-dev libssl-dev libxslt-dev install libgd-dev libgeoip-dev
cd nginx-1.20.2
./configure \
--prefix=/etc/nginx \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--pid-path=/run/nginx.pid \
--sbin-path=/usr/sbin/nginx \
--with-cc-opt="-g -O3 -mpopcnt"\
--with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fPIC' \
--lock-path=/var/lock/nginx.lock \
--modules-path=/usr/lib/nginx/modules \
--http-client-body-temp-path=/var/lib/nginx/body \
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
--http-proxy-temp-path=/var/lib/nginx/proxy \
--http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
--with-debug \
--with-compat \
--with-pcre-jit \
--with-http_ssl_module \
--with-http_stub_status_module \
--with-http_realip_module \
--with-http_auth_request_module \
--with-http_v2_module \
--with-http_dav_module \
--with-http_slice_module \
--with-threads \
--with-http_addition_module \
--with-http_gunzip_module \
--with-http_gzip_static_module \
--with-http_image_filter_module=dynamic \
--with-http_sub_module \
--with-http_xslt_module=dynamic \
--with-stream=dynamic \
--with-stream_ssl_module \
--with-mail=dynamic \
--with-mail_ssl_module \
--add-module=../nginx-secure-token-module \
--add-module=../nginx-vod-module
make
sudo make install
|
@magic-thomas You need to create that file. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I followed https://francoism90.github.io/mediadb-docs/guide/getting-started.html#installation .
I got error.
nginx: [emerg] unknown directive "vod_base_url" in /etc/nginx/nginx.conf
How can I fix this ?
p.s.
ubuntu 20.04 / nginx 1.18
The text was updated successfully, but these errors were encountered: