Tag Info

New answers tagged

2

To get a list of all files installed by a package use: dpkg -L PACKAGE_NAME Note that this command will not list files installed by dependencies. For example running apt-get install nginx installs nginx, nginx-core, nginx-common. So you would have to run dpkg -L PACKAGE_NAME for each of these packages to get a list of all files that were installed ...


0

Unfortunately, if you want NAXSI and uwsgi support, you have to compile manually the NGINX source code with both naxsi and uwsgi to make it work with the features you want to support. There is no other way to get all the features one would need on a given NGINX flavor. NGINX Naxsi is deprecated and unsupported. Unfortunately, the issue goes back to how ...


1

If your browser requests a URL from the server that is not really a file but a directory, like http://example.com, the server looks in the directory for a file like index.htm, index.html, index.php and maybe others. If it can't find such a file, it may serve a "directory listing" instead, if you allow it. Otherwise, it will issue a 403 error. info.php is ...


0

After some more debugging, I found that a request to port 80 was being held up by: ool-4353e70a.dyn.optonline.net (67.83.231.10) This ip resolves to my ISP. Turns out Optimum blocks port 80 unless you upgrade your service. *facepalm* From the docs. Activation of Port 80 is currently available with Optimum Online Ultra 50, Optimum Online Ultra 75 or ...


0

just i deleted this line listen [::]:80 default_server ipv6only=on; from /etc/nginx/sites-available/default and it works :D


1

nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) From the error message this seems ipv6 is disabled on your server. Edit nginx default server configuration and changed it to listen on ipv4 only or enable ipv6. listen 80 default_server; # comment to disable ipv6 # listen [::]:80 default_server;


0

The simple test is rebooting but you can inspect how things are linked in quite easily. Nginx uses an old-fashioned init script at /etc/init.d/nginx which is symlinked into various /etc/rc.n directories (which the system executes at boot). You can confirm: $ find /etc/rc?.d -iname '*nginx*' -exec file {} + /etc/rc0.d/K20nginx: symbolic link to ...



Top 50 recent answers are included