Show all posts by user
Introduce yourselves
Page 1 of 1 Pages: 1
Results 1 - 7 of 7
Permission for file ? ( sudo chmod -R 777 /var/www/ risk but for test )
Site is working ok under apache2 + libapache2-mod-php7.0 php 7,
Back to Nginx
I check usr/share/nginx/html .......
What I see ?
index.html, i copy here info.php too.
So I tried mysite/index.html
Welcome to nginx!
mysite/index.html
Information about PHP
I was searching information about root and www d
by
foto
-
How to...
Debug
server {
#other config
error_log /var/logs/nginx/mysitecom.log debug;
#other config
}
full http://pastebin.com/AC5itJxf
Refresh main site.
Ngnix site trying to use "/" "/var/www/html/" and forwarding(?) to /usr/share/nginx and error 404.
(...)
2016/07/12 22:04:31 16736#16736: *8 trying to use file: "/&
by
foto
-
How to...
sudo journalctl -xn
-- Logs begin at sob 2016-07-09 21:28:50 CEST, end at pon 2016-07-11 23:41:50 CEST. --
lip 11 23:40:13 Foto nginx[4680]: nginx: bind() to 0.0.0.0:80 failed (98: Address already in use)
lip 11 23:40:13 Foto nginx[4680]: nginx: bind() to 0.0.0.0:80 failed (98: Address already in use)
lip 11 23:40:14 Foto nginx[4680]: nginx: bind() to 0.0.0.0:80 failed (98: Address alrea
by
foto
-
How to...
Thank you for this. I went back to a single file from http://piwigo.org/forum/viewtopic.php?pid=163083 and I added fastcgi_params.
sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
sudo service nginx restart
I see nginx worker in htop. (php-fpm7.0 is ok)
Website is only showing "error&q
by
foto
-
How to...
Some corrections server / locations but the "error nginx: invalid variable name in"
user www-data;
worker_processes auto;
pid /run/nginx.pid;
#include /etc/nginx/modules-enabled/*.conf;
# include /etc/nginx/conf.d/*.conf;
#include /etc/nginx/sites-enabled/*;
events {
worker_connections 512;
# multi_accept on;
}
http {
#include /etc/nginx/sites-availabl
by
foto
-
How to...
I have problem with Nginx configuration ?
My first VPS Debian8 64bit, Nginx 1.10(from dotdeb).
I saw only easy short configuration in man.
testing:
Main configuration
file: /etc/nginx/nginx.conf
sudo nginx -t
nginx: invalid variable name in /etc/nginx/nginx.conf:54
nginx: configuration file /etc/nginx/nginx.conf test failed
54 last "}"
user www-data;
worker_pro
by
foto
-
How to...