Below is my Nginx.conf -
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
#
ok maybe more infos needed...In nginx.conf (chroot)I get some lines like fastcgi_pass unix:/run/php-fpm/php-fpm.sock;But i've not this files in chrooted /runSo can i make use of php-fpm in chroot ?Here my nginx.conf :#user html;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
wo
I am in the process of trying to configure a Server with https and for some reason it seems the requests are not hitting nginx at all. I have everything working properly but once I go to enable ssl it gives me an will not accept any requests on port 443 (connection timeout). Does anyone know how I can begin to debug this issue? I am using all of the same logic I have used on previous servers.
Here's my NGINX config (no apache, just php-fpm):
user nginx;
worker_processes 1;
error_log /usr/local/nginx/logs/error.log notice;
pid /var/run/nginx.pid;
events {
worker_connections 384;
}
http {
include mime.types;
default_type application/octet-stream;
access_log off;
server_tokens off;
sendfile
I have followed instruction for setting up django with nginx from the django wiki (https://code.djangoproject.com/wiki/DjangoAndNginx) and have nginx setup as follows (a few name changes to fit my setup).
user nginx nginx;
worker_processes 2;
error_log /var/log/nginx/error_log info;
events {
worker_connections 1024;
use epoll;
}
http {
include /etc/nginx/mime.types;
I am having issues with my phpmyadmin on my nginx install.
When I enter <ServerIP>/phpmyadmin and logs in, I get redirected to <ServerIP>/index.php?<tokenstuff> instead of <ServerIP>/phpmyadmin/index.php?<tokenstuff>
Nginx config file:
user nginx;
worker_processes 5;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_c
I read and followed this question in order to configure nginx to force SSL for one page (admin.php for XenForo), and it is working well for a few of the site administrators but is not for myself.
I'm setting up a new server with PHP 5.3.9 and nginx, so I compiled PHP with the php-fpm SAPI options.
I am a complete noob when it comes to Nginx, but I'm trying to make the switch over for my WordPress site. Everything works, even the permalink, but I can't access my WordPress admin directory (I get a 403 error).
I have my WordPress install in a subfolder, so that complicates things a bit for me.