# Access the web server for testing while in maintenance

**URL:** <https://www.ruby-forum.com/t/access-the-web-server-for-testing-while-in-maintenance/171304>\
**Category:** Deployment\
**Created:** [June 30, 2009, 10:09am UTC](https://www.ruby-forum.com/t/access-the-web-server-for-testing-while-in-maintenance/171304 "2009-06-30T10:09:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![feeling3\_4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/ecb155/32.png) [@feeling3\_4](https://www.ruby-forum.com/u/feeling3_4)\
**Post date:** [June 30, 2009, 10:09am UTC](https://www.ruby-forum.com/t/access-the-web-server-for-testing-while-in-maintenance/171304/1 "2009-06-30T10:09:23Z")

</div>

i am using nginx proxying to haproxy proxying to thin  
when in maintenance mode(serving a maintenance page to end users), how  
can I still access the web server so that I can do some testing first?

I want to be able to access the server via the same domain.

maybe set some magic cookie? or pass through requests from a particular  
IP? Any idea?
