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

Re: Logrotate not working with Nginx

Hello,I don't kown if this will help but I don't use logrotate with nginx.I use a script scheduled in crontab root who do the job.The script :retention=7log="/applis/nginx/logs"pid="$log/nginx.pid"mv...

View Article


Re: php and nginx

yep...it's where all my files are :(

View Article


Reverse proxy for another nginx web server

Hi guys,Must set up nginx to redirect requests to another web server running on nginx. I will not use dns to these settings.For example, I will request the reverse proxy nginx 10.0.0.1 and this in turn...

View Article

Re: php and nginx

Are you sure nginx is listening on port 80?The logfiles must say something, check them again.Try a simple nginx.conf file, strip anything you don't need at the moment.

View Article

Re: php and nginx

it was down to the port....http://127.0.0.1:8080/ worked like a charm....sorry!thank you for your help

View Article


Re: Logrotate not working with Nginx

I'd prefer to get logrotate working correctly.What are the permissions of the files under /var/log/nginx supposed to be ?

View Article

Unable to display static content on same server

Hi,I am newbie to Nginx and has been asked to do the following. My company has a new website underway and they would like to register the new site in our DNS (netscaler) and display an "under...

View Article

Re: Unable to display static content on same server

Look in the logfiles to see if your request actually reaches your webserver.

View Article


Re: Unable to display static content on same server

Thanks itpp2012 for your reply.I can't find any traces in either access or error log. Yesterdays test to www.workingdomain.com/test however is there (access log)Just verified with the network guys that...

View Article


Re: Unable to display static content on same server

If there is nothing in the logs then that nginx instance is not being reached, do a trace over port 80 to this machine and see where you end up, also access the machine locally to ensure (by checking...

View Article

Re: Unable to display static content on same server

When pinging from internal server my netscaler replies successfully. Same as for other working websites handled by the Nginx. When trying to access webpage externally I get the Http/1.1 Service...

View Article

Re: Unable to display static content on same server

thg Wrote:-------------------------------------------------------> When pinging from internal server my netscaler replies successfully.> Same as for other working websites handled by the Nginx....

View Article

Re: Unable to display static content on same server

I added index index.html index.htm; to my location block and also placed a favicon.ico file in my wwwroot folder and voila, it works. However if I simply type example.com I get the http/1.1 error again...

View Article


Re: Unable to display static content on same server

(a)internet -> (b)firewall -> (c)netscaler -> (d)machine-with-nginx.If accessing (d) works for both http and https then the config is ok.If accessing (d) via (a) does not work you should...

View Article

Re: Reverse proxy with a subdirectory to a server at top level

I tried adding proxy_set_header Accept-Encoding ""; and it doesn't work, with google at least :/

View Article


Elgg framework not finding files from php proxy

Hello, I migrated serves and ditched the control panel to manage my VPS. I'm using vpssim.com LEMP stack installer. I'm getting a 404 error on groups and blog icons due to having no rules to serve the...

View Article

Installation problem

Hi all,I using ubuntu 14.04on installation step:- Run apt-get install nginx-plus to install nginx-plus packageI have such error: - E: Unable to locate package nginx-plusand on step:- In order to...

View Article


ngnix

hello all.Can I configure Nginx as proxy for apache2+webdav ?root@web-frontend:/etc/nginx/sites-enabled# cat site-devserver {listen 80;server_name mydomain.spbstu.ru;location / {# proxy_pass...

View Article

Websockets behind apache and nginx proxy, connection not upgrade

Hi! I have a problem. Apache listens on a white ip and proxies all requests /ssd on nginx that proxies requests /city-dashboard to another server with websockets. In apache config:ProxyPass /ssd/...

View Article

Re: ngnix

Solved.1 I useSetHandler default-handlerOptions None(because apache try to exec php)2 I change auth type foe Digesthttp://blog.tedd.no/2013/07/13/apache-webdav-setup-compatible-with-windows/because of...

View Article
Browsing all 4759 articles
Browse latest View live


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