New answers tagged

0

Instead of completely disabeling SELinux a more decent approach would be to allow nginx to do its pupose with the means of SELinux. setsebool -P http_can_network_connect 1 does this job.


1

There is default file in the dir /etc/nginx/sites-enabled/ which hosts the default page when you hit server's IP in the browser. If you have single web app which you wish to access with server's IP then remove the default host file by running below command unlink /etc/nginx/sites-enabled/default (the filename may be 00-default or default) If you have ...


1

There is a working sample in Linuxserver.io repository. https://github.com/linuxserver/reverse-proxy-confs/blob/master/transmission.subfolder.conf.sample If you are not using docker, the configuration may look like this. location ^~ /transmission { include proxy.conf; proxy_pass http://127.0.0.1:9091; proxy_pass_header X-Transmission-Session-Id; ...


1

You forgot a slash at the end of location /pyserv/ :)


0

Really easy to do this in Engintron's custom rules: if ($SITE ~* (app.worldindia.com/pubclick/click?affiate_id=683) { return 403; } This will match all the URLs with that affiliate ID. By the way it's better to use a 403 to deny access.


0

Yes, yes, yes. After few days of struggle, I've got working Virtualmin and swizzin on one VPS. First, you have to install Virtualmin with nginx support https://www.virtualmin.com/documentation/web/nginx Then, install swizzin bash <(curl -sL git.io/swizzin) && . ~/.bashrc Install swizzin panel from gui or terminal box install panel And install ...


0

OK it was a simple migration from PHP 7.1 to 7.2 and all my programs had the same issue related with date and Timezone. A simple line had to be comment out on one program for example $year = date("Y"); another one for example $default_timezone = 'GMT+5'; Look for timezone and date variables and lines. After changing the time and date and ...


Top 50 recent answers are included