Welcome! Log In Create A New Profile

Advanced

Nginx - canot read icons in PHP

February 21, 2019 11:53AM
Hello all I have a server usin Debian 9.3. I have migrated from Lighttpd to ngings to be able to use its reverse proxi capabilities to use OpenHab

my default file is:

"
server {
listen 80;
server_name 192.168.1.246;
error_log /etc/nginx/error.log;

root /var/www/html;
index index.html index.htm index.php phpliteadmin.php;

location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
# also check this next line in frm .d
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
fastcgi_index index.php;
include fastcgi.conf;
}
location / {
proxy_pass http://localhost:8080/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
satisfy any;
allow 192.168.1.1/24;
allow 127.0.0.1;
deny all;
}

auth_basic "Username and Password Required";
auth_basic_user_file /etc/nginx/.htpasswd;
"

and also did:

ln -s /usr/share/phpmyadmin/ /var/www/html/phpmyadmin

All works also the php programs but I have no icons in the php programs

Thanks in advance
Subject Author Posted

Nginx - canot read icons in PHP

exadra February 21, 2019 11:53AM

Re: Nginx - canot read icons in PHP

Francis Daly February 22, 2019 08:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready