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

Re: change root

Ok. Thanks. I've tried that for like 20h. I tried changing to root /var/www/musibox.seIn the end nginx could not serve any php files when I did. The only way it works is by using root...

View Article


Re: change root

No its not weird, php like RoR are independent systems from nginx, so when you tell nginx to change root you need to tell php as well where root has gone to, or define a rootbase, add it to the passing...

View Article


Re: change root

wire your account no. sir!

View Article

Re: Invalid Option with Map Expression

Done! Thanks for the suggestion.http://trac.nginx.org/nginx/ticket/551

View Article

caching

I've set these expires headers in default.confThe entire site breaks. No CSS and/ or images. Please does anyone know why?location ~* .(jpg|jpeg|png|gif|ico|css|js)$ {expires 365d;}

View Article


Re: Invalid Option with Map Expression

The ticket was closed as invalid with this comment:"This doesn't looks like a problem in nginx. Rather, it's an incorrect assumption in init.d script you use - looks like it tries to grep nginx.conf...

View Article

Static files cookieless on NGINX + php5-fpm

Hi,i'm approaching with NGINX web server in these days.I used IIS before and I must say that NGINX is fantastic.After first simple settings, now i want optimize some functionality.I use nginx to serve...

View Article

better chmod root folder

Hello,I run nginx using user and group www-data:www-data.FTP user and group is ftp:ftpI want to change root folder from /var/www/domain.com to /home/user1/www (user1=user no have home directory)For...

View Article


Virtual Directory proxypass

I'm looking to be able to hit my dnsname/gallery and access my turnkey linux gallery virtual applianceI've got this working with subsonic and passing to the right server, i'm having trouble with...

View Article


Re: Virtual Directory proxypass

realized i was running on a pretty old version, just added the repository and key to the appliance and updated. I'm now on 1.6.0 and now nothing is working, no errors in the log, just page cannot be...

View Article

xdebug

Does anyone know how to setup xdebug with nginx?I'm trying to set it up in a VM using vagrant and chef.So far I haven't been succesful.

View Article

reverse proxy - log all webservice requests and responses

I have a server that runs 3rd party code that implements a web service - it accepts SOAP/XML requests and responds with XML messages.I want to be able to log all requests and responses, and be able to...

View Article

Use asynchronous APIs with Nginx-Perl-1.2.9.7 - ngx_timer

Re-posting in the correct place -Hi all,I am trying to create the following scenario with Nginx-Perl-1.2.9.7 –1. Create an nginx perl handler to generate response to clients requests2. Do some stuff in...

View Article


accessing two different sites by 192.x.x.x/test1 and 192.x.x.x/test2 possible?

Hey there,I spent couple of days to get this running, but did not succeed:On my raspberry I want to run owncloud and web-service to manage mpd. I set up the owncloud and also the mentioned...

View Article

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

Sure, for each named site create a location block;location /path1 {root /etc/path1;.......}location /path2 {root /etc/path2;.......}http://nginx.org/en/docs/http/ngx_http_core_module.html#location

View Article


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

Thanks for your reply. Now I know, that was not completely wrong.I actually defined two site in the "sites-available" folder of nginx: owncloud and romprowncloud:server {listen 8080;root...

View Article

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

Thanks for your reply.I knew that I was not totally wrong. To give some more details about my configuration:I defined two sites in the "sites-available" folder of nginx.Here is the one for...

View Article


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

Are you sure the sockets are working, rights and so on ?

View Article

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

Not, I'm not sure... :-(Here is an example for the cloud:[owncloud]listen = /var/run/php5-fpm-owncloud.socklisten.backlog = 4096user = www-datagroup = www-datapm = dynamicpm.max_children =...

View Article

Isolating a specific server performance

WelcomeI'm using nginx as a reverse proxy for different types of backends, which serve dozens of websites. I would like to limit individual websites on the proxy. For example, one website has allocated...

View Article
Browsing all 4759 articles
Browse latest View live


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