Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

Re: accessing two different sites by 192.x.x.x/test1 and 192.x.x.x/test2...

It does say "connect() to unix:/var/run/php5-fpm-rompr.sock failed" so I'd google that first.

View Article


Re: accessing two different sites by 192.x.x.x/test1 and 192.x.x.x/test2...

Ok, thanks. I fixed this by modifing the directory according to the right position.But now I'm completely lost. I removed the owncloud and tried get "rompr" working.My only file in "site-available" and...

View Article


Re: accessing two different sites by 192.x.x.x/test1 and 192.x.x.x/test2...

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

View Article

Maximum connections per worker?

HelloIn general i am setting on 8 core and 8 threads total 16 only four nginx workers so i let the rest for php-fpm and mysql ...But how many connections i must set as maximum per worker?How many 1...

View Article

HHVM and nginx

In general i think php-fpm is not very efficient and i am wondering if anyone test the new facebook HHVM instead and how it goes?Other competitors has worst web server than nginx but better php...

View Article


auth php error

Hello,I have a centos 6 server where I would like to have basic authentication of a directory containing a wordpress blog.my virtual.conf looks like this:server {listen 80;# listen *:80;server_name...

View Article

Re: accessing two different sites by 192.x.x.x/test1 and 192.x.x.x/test2...

After setting up nginx and fpm again, the things still do not work. I don't know what's wrong. If I type in the IP of my sever, I get the index.php downloaded. If I use IP/rompr then I get a502 bad...

View Article

Re: accessing two different sites by 192.x.x.x/test1 and 192.x.x.x/test2...

Look at where root is pointing and then look at where php expects stuff to be.is root and php and $document_root all pointing to the same location? disable all thats not needed like tryfiles, keep a...

View Article


can i catch upstream output and display something else?

I have a dumb custom webserver behind nginx (that i am stuck with), that will occasionally go into a maintenance mode, where it is not able to serve its' normal content, but instead just sends "File...

View Article


How to add modules to nginx wiki ?

Hi :I want to submit my modules to nginx as a third party module. How to make it ? I googled and someone suggested to just edit the wiki . I tried to create an account of wiki but failed , nginx sent...

View Article

Best practice question

Hi,I just wanted to learn what is the best practice or solution on how multiple owners of sites powered by nginx could add their redirects?I know that in Apache this can be done with per user .htaccess...

View Article

500 Internal Server Error - Welcome to nginx!

Hello , I installed ispconfig on my vps and I uploaded the wordpress files ftp , when trying to access my domain, I get error: '500 Internal Server Error ', well no www or without www redirects .....

View Article

Re: accessing two different sites by 192.x.x.x/test1 and 192.x.x.x/test2...

Finally it's running. Thanks for your help. My site-file for nginx is at follows:server {listen 80 default_server;#listen [::]:80 default_server ipv6only=on;root /var/www;index index.php index.html...

View Article


Re: Invalid Option with Map Expression

Bug reported and confirmed:https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1314740

View Article

Unexpected SSL Behavior with Virtual Hosts

I'm using nginx to provide service for 4 virtual hosts on the same physical server. The issue I'm having is that a browser request for https://www.domain1.org/ is being answered with a certificate for...

View Article


First time download is slow

hello,i have a dedicated server, Debian distro, Apache the website is based on a prestashop ecommerce script, recently i added Nginx as a reverse proxy and set up a basic configuration. It works ok, i...

View Article

try_files and static content with query string (token/version)

Hi all.I'm adding an nginx in front of an Apache webserver. The idea is to serve static content with nginx and dynamic content with Apache. I've moved Apache to port 8080 and created the following...

View Article


Magento Wordpress Nginx Configuration

I have a Magento shop at http://example.com and I want to keep a Wordpress blog at http://example.com/blog. I have installed the blog and everything seems to be fine but when am logging to Wp-Admin am...

View Article

Flash Policy Server Troubles

Hello, I am attempting to get a flash policy server (sorta) working via nginx. Various sites cover a work-around to make nginx serve the policy file via the 400 error with some redirect magic, however...

View Article

Setting Up Nginx + PHP-FPM to handle 1000 Connections !simultaneously!

Hello,I'm trying to setting up nginx + php-fpm to handle many connections simultaneously but i can't.My Current Config of nginx.conf is the followinguser www-data;worker_processes...

View Article
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>