I found an easy option: I duplicated the location block into my Kohana and into my blog locations. It seems to work Thanksby axeloz - How to...
Hello guys, I have a problem I want to fix. My server configuration is attached to this post. I have a server block with includes my main website powered by the Kohana framework. I have also a Wordpress blog which is under /blog/. All other URLs are going to the main website. This is working fine. My problem is with the location ~* \.css|\.js$|\.jpg|\.jpeg|\.png|\.gif|\.swf|\.svby axeloz - How to...
As a workaround, I must add the following block into any server configuration using try_files: location ~ ^/(status|ping)$ { deny all; } This is only a workaround and it remains risky because I might forget to add these instructions on a new server one day.by axeloz - How to...
Hello guys, I just noticed a problem with my Nginx installation: I enable the PHP FPM status page (url: /status). Then I add the location block on a default virtual host allowing only 127.0.0.1 to connect to this page. Luckily I have tested my website : www.example.com/status because the status page shows up even from outside. It took me quite a while to figure out the problem, I think I mby axeloz - How to...
3 hours testing later, it works. Topic closed.by axeloz - How to...
Hello @all. I have a tricky question that I cannot solve. I have today two server configurations in Nginx: one for www.mydomain.com and one for blog.mydomain.com. I was advised to migrate my blog under www.mydomain.com/blog for SEO purposes. My www.mydomain.com server has many location settings: location / { root /var/www/site; try_files $uri $uri/ @myframework; } location ~* \by axeloz - How to...
![]() |
![]() |
![]() |
![]() |
|