What is the output of
ls -l /home/workspace/project/tmp/uwsgi.sock
and
ps aux|grep nginx
On Mon, Sep 18, 2017 at 12:13 PM, sandyman
wrote:
> after struggling for almost a week on this I feel I need to reach out for
> assistance . Please Help
>
> I am trying to deploy my project to a product
after struggling for almost a week on this I feel I need to reach out for
assistance . Please Help
I am trying to deploy my project to a production environment
In terms of permissions I have read all the forums changed all permissions
i.e. 777 etc etc
srwxrwxrwx uwsgi.sock (owned by me full a
Hi Anoop
Its working fine now :)
Here's my final config:
location /wiki {
try_files $uri $uri /wiki/index.php;
location ~ \.php$ {
fastcgi_param HTTP_PROXY "";
try_files $uri =404;
fastcgi_index index.php;
include fastcgi_params;
On Sun, Sep 17, 2017 at 09:16:12AM -0400, sandyman wrote:
Hi there,
> I'm back to where I started. I added to my config
>
> location = /test-this/ { return 200 "Yes, this is correct\n"; }
>
> I stopped and started nginx , and restarted the server
>
> and then requesting http://www.sandyman.
2 hours later still struggling but getting some error logs now
location /foo { return 200 "yikes ";}
returns yikes ..
however www.asandhu.xyz returns 502
log file states either uwsgi.sock failed (13: Permission denied) 664 and
owned by me
or (111: Connection refused) when chmod 777
Hi Anoop,
What value should i set cgi.fix_pathinfo in php.ini ?
E
Le 2017-09-17 à 09:36, Anoop Alias a écrit :
Hi Etienne,
Assuming you want mediawiki to be served from /wiki/
##
server{
root /path/to/directory/excluding/wiki;
..
..
...
location /wiki/ {
try_files
Hi Etienne,
Assuming you want mediawiki to be served from /wiki/
##
server{
root /path/to/directory/excluding/wiki;
..
..
...
location /wiki/ {
try_files $uri $uri /wiki/index.php?query_string;
location ~ \.php$ {
try_files $uri =404;
fastcgi_index inde
Hi Anoop,
Not sure why, but php-fpm now returns a blank page.
Here's my error_log:
2017/09/17 09:16:02 [debug] 21872#21872: epoll add event: fd:7 op:1 ev:2001
2017/09/17 09:16:02 [debug] 21874#21874: epoll add event: fd:7 op:1 ev:2001
2017/09/17 09:16:02 [debug] 21873#21873: epoll add e
Hello Francis ,
Thank you for your help this far
what happened was I Set DEBUG=True in Django settings , and urlpatterns +=
staticfiles_urlpatterns()
this allowed the files to be served in a non secure setting
I'm back to where I started. I added to my config
location = /test-this/ { ret
try changing
##
location = /wiki {
root /home/www/isotoperesearch.ca/wiki;
fastcgi_index index.php;
index index.php;
include fastcgi_params;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
}
##
to
###
Hi,
I'm trying to configure nginx with php-fpm to run mediawiki in a
distinct location (/wiki).
Here's my config:
# configuration file /etc/nginx/nginx.conf:
user www-data;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 512;
multi_accept on;
use epoll;
}
htt
11 matches
Mail list logo