video server!

2021-06-09 Thread admobwebmaster
Hello friends! I have a video server with nginx that I use in my app, I was wondering if there is any way to encrypt the links of my videos hosted on the server to block capturing my video links and being used by third parties. I wanted tips on how to expire the video links on my server and protect

Re: Serve same website under two URLs / domains with certbot

2021-06-09 Thread Francis Daly
On Sat, Jun 05, 2021 at 06:32:42PM -0400, forumacct wrote: Hi there, > I did this: > sudo certbot --nginx -d skywatcher.space -d www.skywatcher.space -d > drgert.dyndns.ws > > And it asked if I want to append the multiple domains into the same > certificate which I confirmed. It created one fil

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread Sergey A. Osokin
On Wed, Jun 09, 2021 at 05:16:17PM -0400, hgv wrote: > Are you suggesting not having symbolic links to various subdirectories of > /usr at the file system root is the cause of my issue? I don't think I can recommend that. > I don't have those symbolic links in any of my Ubuntu 20.04 instances. I

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread hgv
Are you suggesting not having symbolic links to various subdirectories of /usr at the file system root is the cause of my issue? I don't have those symbolic links in any of my Ubuntu 20.04 instances. Sergey A. Osokin Wrote: --- > On Wed, Jun 09

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread Sergey A. Osokin
On Wed, Jun 09, 2021 at 04:57:08PM -0400, hgv wrote: > root@k2# ls -la / | grep usr > drwxr-xr-x 13 root root usr And I have a bit different layout here: $ ls -al / | grep usr lrwxrwxrwx 1 root root 7 Feb 1 17:20 bin -> usr/bin lrwxrwxrwx 1 root root 7 Feb 1 17:20 lib ->

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread hgv
root@k2# ls -la / | grep usr drwxr-xr-x 13 root root usr Sergey A. Osokin Wrote: --- > On Wed, Jun 09, 2021 at 02:55:57PM -0400, hgv wrote: > > /lib/systemd/system/nginx-debug.service and > > /lib/systemd/system/nginx.service exist (different

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread Sergey A. Osokin
On Wed, Jun 09, 2021 at 02:55:57PM -0400, hgv wrote: > /lib/systemd/system/nginx-debug.service and > /lib/systemd/system/nginx.service exist (different path then what you > previously asked, sorry for the misunderstanding) That's coming more and more interested than I expected, so could you show o

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread hgv
/lib/systemd/system/nginx-debug.service and /lib/systemd/system/nginx.service exist (different path then what you previously asked, sorry for the misunderstanding) /lib/systemd/system/nginx-debug.service [Unit] Description=nginx - high performance web server Documentation=https://nginx.org/en/doc

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread Sergey A. Osokin
On Wed, Jun 09, 2021 at 01:50:08PM -0400, hgv wrote: > In case it's relevant, I believe the initially installed version was 1.16 on > Ubuntu 18.04. Both have since been upgraded to current versions. dpkg-deb(1) shows the following files in the package you've installed: % dpkg-deb -c nginx_1.21.0-

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread hgv
In case it's relevant, I believe the initially installed version was 1.16 on Ubuntu 18.04. Both have since been upgraded to current versions. hgv Wrote: --- > Nginx has been installed from the official Nginx repository. > > /etc/apt/sources.lis

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread hgv
Nginx has been installed from the official Nginx repository. /etc/apt/sources.list.d/nginx.list deb [arch=amd64] http://nginx.org/packages/mainline/ubuntu/ focal nginx Sergey A. Osokin Wrote: --- > On Wed, Jun 09, 2021 at 11:46:32AM -0400,

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread Sergey A. Osokin
On Wed, Jun 09, 2021 at 11:46:32AM -0400, hgv wrote: > /etc/systemd/system/nginx.service.d/override.conf and > /usr/lib/systemd/system/nginx.service don't exist Thanks for the update. Not sure how nginx package has been installed on that box. So, I'd recommend to follow the instruction and instal

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread hgv
/etc/systemd/system/nginx.service.d/override.conf and /usr/lib/systemd/system/nginx.service don't exist /etc/nginx/nginx.conf below user www-data; worker_processes auto; pid /run/nginx.pid; worker_rlimit_nofile 16384; events { worker_connections 1024; use epoll; multi_acce

Re: Server mp4 file larger than 2GB on 32bit system

2021-06-09 Thread Maxim Dounin
Hello! On Wed, Jun 09, 2021 at 02:55:28AM +, 王 静凯 wrote: > >Certainly there is a way to compile natively. Even if for some > >reason, for example, due to lack of disk space, it is not possible > >to compile right on the target hardware, you can always compile in > >an emulated environment. >