Created
April 21, 2009 05:52
-
-
Save whoahbot/98962 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *> | |
Servername whoahbot.example.com | |
DocumentRoot /var/www | |
RewriteEngine On | |
RewriteRule ^/http-bind/ http://jabber.example.com:5280/http-bind/ [P] | |
</VirtualHost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name whoahbot.example.com; | |
access_log /var/log/nginx/localhost.access_log main; | |
error_log /var/log/nginx/localhost.error_log info; | |
root /var/www/htdocs; | |
location /http-bind/ { | |
proxy_pass http://whoahbot.example.com:5280/http-bind/; | |
} | |
error_page 404 500 /404.html; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment