Can't set up alias and rewrite in location
I have a root directory defined in main config file in http {...}. The problem part of config is following:server {listen 80;server_name localhost.dev;location /89262207055 {root /89262207055/;location...
View ArticleSSL config problems : wrong root for https requests
The HTTPS requesthttps://www.xxx.jp/tida/test.jpgis being interpreted as/usr/share/nginx/html/tida/test.jpgin2014/01/08 15:38:27 [error] 29388#0: *90 open()"/usr/share/nginx/html/tida/test.jpg" failed...
View ArticleRe: SSL config problems : wrong root for https requests
Co-worker solved it for me.The person who set it up putroot /var/nginx/;location / {root html;index index.html index.htm;}and that had to be commented outroot /var/nginx/;location / {# root html;index...
View Articlehttp_referer, strange problem
HelloAs a background there is one specific site we (for various reasons) don't allow to link to one directory in the nginx site.Seems to be easy. If I put a PHP file in the directory it works just as...
View ArticleRewite cond
Hello,it's been several days I stuck.I want nginx returns to a file when requested is not available and this by htaccess.In my tests with local apache + htaccess it works perfectly, the server returns...
View ArticleUsing try_files or not, does not seem to make a real difference
This is just an understanding question, everything works, but i'm not quite sure why.My basic setup is a folder /var/www/test inside there is a "index.html" and another folder called "folder" and...
View ArticleRe: Nginx vhost config issue
Why should it redirect to https when you open http://www.domain.com/admin ? I don't see any "location /admin" block that would do that.If you want https only for /admin create a block like...
View ArticleAlways Get This Error:Connection reset by peer
I migrated my site from apache to nginx and use nginx 1.4.4+mysql 5.6.15 + php 5.3.3.When I visit some php pages,There is an error in nginx error log: recv() failed (104: connection reset by peer)...
View ArticleJoomla! 2.5 can't install extensions from the control pannel
Hi.I'm using nginx with ispconfig3 on debian 7 and I can't install any component from the joomla extension manager!There is a solution to allow extension installation from the web?Thanks.Regards.
View Articlefastcgi caching for https only site.. some questions
greetings all!i have been configuring a relatively low powered virtual server to serve a php app (a social network that is built using the elgg framework).i read this page...
View Articlerestrict access to scripts in folders by IP?
simple config issue here.. i am stuck though -> the location directive..i want to deny access to the contents of a specific folder in a php app to only specific IPs.i read the nginx wiki and...
View ArticleNGINX : Not possible to get rights on directories
Hi,On ubuntu 12.04 LTS server, I've install Nginx (1.1.19 from repository ubuntu) & IspConfig following this standard documentation...
View Articlea tool for converting htaccess files.. and a question
i just found this site which has a converter for htaccess files - to create nginx files from them: http://winginx.com/htaccessi use the elgg framework (www.elgg.org) and i ran the htaccess file that...
View ArticleRe: a tool for converting htaccess files.. and a question
ah, oops.. i had forgotten to reload nginx on my development pc after changing the config..so now the config doesn't work on both pcs!a step towards comprehension at least.
View ArticleSend nonce header
Is there a way to send a header with a random number in it, e.g. "add_header nonce $rand".I'd also need to store the random number on disk and associate it with the connection serial number.The nonce...
View ArticleRe: 10013: FormatMessage() error:(15100)
Nginx don't want to start again (neither reload). How to solve this problem, all the time the same error: ...FormatMessage() error:(15100))Thank you in advence for solution.Best regards!Isaco
View ArticleTwo ways to access same web application
I have on my server a variety of gpEasy, Drupal, and Joomla sites running under nginx and php-fpm. For public access to these, it is fine that they are unsecure (non https). But I want the content...
View ArticleRe: 10013: FormatMessage() error:(15100)
Make sure nothing else is using port 80 like IIS.
View ArticleNginx configuration needed to dynamically rewrite a subdirectory to a subdomain
How to configure NGINX daemon so that blog.xxx.com becomes xxx.com/blogCan anyone help me?
View Article