Moved this post to "How to" section ..by cavamondo - Nginx Mailing List - English
Coming fra Apache/htaccess, im trying to get my head around the Nginx paradigme. Im trying to achieve a temporary redirect to a www.mysite.com/maintenance.html page, for all visitors to www.mysite.com except visitors coming from IP:xx.xx.xx.xx.wich should have fuul access to the site. I know how to achieve this with htaccess, but this doesnt applya to Nginx. I have tried different suggestions oby cavamondo - How to...
Coming fra Apache/htaccess, im trying to get my head around the Nginx paradigme. Im trying to achieve a temporary redirect to a www.mysite.com/maintenance.html page, for all visitors to www.mysite.com except visitors coming from IP:xx.xx.xx.xx.wich should have fuul access to the site. I know how to achieve this with htaccess, but this doesnt applya to Nginx. I have tried different suggestions oby cavamondo - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |