Last active
December 21, 2015 20:59
-
-
Save tsmango/6365452 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 *:8000> | |
ServerAlias * | |
DocumentRoot /var/www/ | |
<Directory /var/www/> | |
Options FollowSymLinks | |
AllowOverride None | |
Order allow,deny | |
Allow from all | |
</Directory> | |
RewriteEngine On | |
RewriteCond %{DOCUMENT_ROOT}/503.html -f | |
RewriteCond %{SCRIPT_FILENAME} !503.html | |
RewriteRule ^.*$ /503.html [L] | |
</VirtualHost> |
This file contains hidden or 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
backend my-web-app | |
server service-unavailable 127.0.0.1:8000 weight 1 backup | |
server i-eb1c5083 10.154.148.222:80 weight 1 check | |
server i-f41c531e 10.141.158.72:80 weight 1 check | |
listen my-web-http | |
bind :80 | |
default_backend my-web-app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment