IPv4 & IPv6 combination

2014-02-07 Thread Peleke
; server_name domain.tld www.domain.tld; When I want to restart nginx I get peleke@vps:~$ sudo /etc/init.d/nginx restart [] Restarting nginx: nginxnginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx

Re: Subdomains no longer work

2013-12-11 Thread Peleke
Thanks for the DNS hint, my provider must have done something wrong, now it is fixed, great! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,244807,245415#msg-245415 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listi

Re: Subdomains no longer work

2013-12-09 Thread Peleke
One problem seems to be that it is not possible to stop nginx: sudo /etc/init.d/nginx stop [ ok ] Stopping nginx: nginx. ~$ ps ax -o pid,ppid,%cpu,vsz,wchan,command|egrep '(nginx|PID)' PID PPID %CPUVSZ WCHAN COMMAND 23558 1 0.0 123844 ep_pol nginx: cache manager process 24945 22802 0

Re: Subdomains no longer work

2013-12-03 Thread Peleke
It worked sometime before that subdomains were accessible as they should be, now they are not anymore but sadly I don't know why because I haven't tested them with every change. The config seems to be valid. nginx is running on a Debian Wheezy server with PHP 5.5x, memcache and a few other services

Re: Subdomains no longer work

2013-11-27 Thread Peleke
Should I add different config files or what other information are needed to solve this problem? Thanks Posted at Nginx Forum: http://forum.nginx.org/read.php?2,244807,245003#msg-245003 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mai

Re: 98: Address already in use

2013-10-11 Thread Peleke
I have the same problem and even if I stop nginx with /etc/init.d/nginx stop it is running on Debian Wheezy: PID PPID %CPUVSZ WCHAN COMMAND 2709 1 0.0 127476 ep_pol nginx: worker process 2710 1 0.0 127716 ep_pol nginx: worker process 2711 1 0.0 127476 ep_pol nginx: worker

Re: Location recursive downloads php files

2013-07-21 Thread Peleke
Okay, it works if I add this: location ^~ /folder1/admin { auth_basic "Login"; auth_basic_user_file /var/www/domain.tld/www/folder1/admin/.htpasswd; location ~ \.php$ { #limit_req zone=limit burst=5 nodelay; try_files $uri =404;

Location recursive downloads php files

2013-07-20 Thread Peleke
I try to secure a specific folder and all files and subfolders with this location block: location ^~ /folder1/admin { auth_basic "Login"; auth_basic_user_file /var/www/domain.tld/www/folder1/admin/.htpasswd; } With this code nginx offers always to download the php files.

Re: Disable open_file_cache for a specific location

2013-07-09 Thread Peleke
Yes, you are right. Such a small change! Thanks a lot and sorry for taking such a long time. Next time I know how to post a proper question. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240504,240687#msg-240687 ___ nginx mailing list nginx

Re: Disable open_file_cache for a specific location

2013-07-08 Thread Peleke
Okay: This is the demo gallery of the gallery plugin I (want to) use: http://wp.oopstouch.com/?page_id=22 As you can see the first thumbnail pictures are thumbnails for different albums. When you click on one of them the album will be opened and then you can click on a thumbnail picture again to

Re: Disable open_file_cache for a specific location

2013-07-07 Thread Peleke
Sorry but my last message was delayed, may be you didn't see it but the problem is still not solved and it worked before with Apache. I would be happy if you could help me, thanks! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240504,240630#msg-240630 _

Re: Disable open_file_cache for a specific location

2013-07-05 Thread Peleke
The problem still exists. You can only see the album thumbnails but it should be possible to click on them to see all pictures from an album and then see them in full screen. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240504,240594#msg-240594 ___

Re: Disable open_file_cache for a specific location

2013-07-05 Thread Peleke
No, the problem is not solved: You can see the album thumbnails but when you click on them there should be a page with the different pictures from that album which you can view in full screen mode. You can see how it should work on http://wp.oopstouch.com/?page_id=22 and I think the problem is rel

Re: Disable open_file_cache for a specific location

2013-07-03 Thread Peleke
Try Flickr or Google+ instead, that error message isn't related to the problem I mentioned, sorry. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240504,240539#msg-240539 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman

Re: Disable open_file_cache for a specific location

2013-07-02 Thread Peleke
Sorry, maybe it is only related to the permalink structure which worked with Apache before server move. The gallery script adds it own extensions to the address. You can see it live on www.peleke.de/galerie and then click on one of the three gallery sources (Flickr, Facebook or Google+). Can you

Disable open_file_cache for a specific location

2013-07-02 Thread Peleke
I have set the open_file_cache variable to max=5000 inactive=20s so that it is enabled globally but now I want to disable all caching for a specific virtual location on a domain: - open_file_cache max=5000 inactive=20s; -- location ^~ /gallery { open_file_cache off; } Sadly that

Re: No MIME types

2013-06-23 Thread Peleke
Sorry, you were right, didn't see it in Selfoss because of SQLite. Thanks! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240262,240283#msg-240283 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: No MIME types

2013-06-22 Thread Peleke
I have the same problem with other software (tested selfoss for example) even if I want to set it up completely from scratch. How can I find the root problem and fix it? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240262,240274#msg-240274 ___

No MIME types

2013-06-22 Thread Peleke
I have just set up a Debian Wheezy nginx web server with PHP-FPM and while it shows the hosted websites it doesn't analyse the MIME types and without CSS or JS modern websites are not working. The problem is the second domain.tld entry: error.log: 2013/06/22 09:10:46 [error] 7806#0: *1 open() "/v