It’s an intriguing question and AFAIK that’s not going to work well. You can try to use the upstream module and use the directives for failover to see if it works as a hack.
2018 edit: a lot of things changed. Check the answer by @ohaal to get real information about this.
Related Posts:
- Difference in sites-available vs sites-enabled vs conf.d directories (Nginx)?
- Is it possible to make Nginx listen to different ports?
- Bash: No such file or directory?
- What’s a .sh file?
- Why do you need to put #!/bin/bash at the beginning of a script file?
- How to unmount a busy device
- How to unmount a busy device
- error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock
- No space left on device
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- How do I use grep to search the current directory for all files having the a string “hello” yet display only .h and .cc files?
- How can I exclude directories from grep -R?
- How to set proxy for wget?
- Building HelloWorld C++ Program in Linux with ncurses
- Pseudo-terminal will not be allocated because stdin is not a terminal
- tar removing leading ‘/’ from member names
- Directory Inode vs Regular File Inode
- How to cat <
> a file containing code? - Opening a .tar.gz file with a single command
- How to make and apply SVN patch?
- Diff command along with Grep gives “Binary file (standard input) matches”
- can’t remove python pip
- How would I get a cron job to run every 30 minutes?
- How to automatically redirect HTTP to HTTPS on Apache servers?
- How to download a file from server using SSH?
- connect to host localhost port 22: Connection refused
- Implementing shell in C and need help handling input/output redirection
- Command to change the default home directory of a user
- Can you Run Xcode in Linux?
- Post request with Wget?
- Telnet [Unable to connect to remote host: Connection refused]
- Implementation of multiple pipes in C
- chmod: changing permissions of ‘my_script.sh’: Operation not permitted
- Terminal Multiplexer for Microsoft Windows – Installers for GNU Screen or tmux
- Can’t remove a directory in Unix
- Is there an alternative sleep function in C to milliseconds?
- Gedit command not working in kali linux terminal
- Syntax error near unexpected token ‘then’
- Curl : connection refused
- How to install Android SDK on Ubuntu?
- make -j 8 g++: internal compiler error: Killed (program cc1plus)
- How can I use grep to show just filenames on Linux?
- Bash script prints “Command Not Found” on empty lines
- Bash export command
- How to edit gitignore file
- Linux Bash: Move multiple different files into same directory
- Adding a new entry to the PATH variable in ZSH
- how to search for a directory from the terminal in ubuntu
- How to use dos2unix?
- CronJob not running
- How to add a default include path for GCC in Linux?
- How to configure both webserver and appserver for WordPress CMS?
- How to remove all plugins, posts, pages, and inactive themes in one line with wp-cli? WordPress bloatware removal
- Communcation with wordrpess and linux server [closed]
- How can I sort du -h output by size
- What exactly do the colors in htop status bars mean?
- How to run a server on port 80 as a normal user on Linux?
- Showing total progress in rsync: is it possible?
- How to bind MySQL server to more than one IP address?
- Moving an already-running process to Screen
- What’s the best way of handling permissions for Apache 2’s user www-data in /var/www?
- Permission denied (publickey). SSH from local Ubuntu to Amazon EC2 server
- How to setup passwordless `sudo` on Linux?
- LVM dangers and caveats
- How to know from which yum repository a package has been installed?
- How do I verify the speed of my NIC?
- tar – Remove leading directory components on extraction
- Job scheduling using crontab, what will happen when computer is shutdown during that time?
- How to list Apache enabled modules?
- How to forcibly close a socket in TIME_WAIT?
- How to check if an RSA public / private key pair match
- how do you create an ssh key for another user?
- Colors in bash after piping through less?
- How can I monitor hard disk load on Linux?
- Why does sudo command take long to execute?
- “POSSIBLE BREAK-IN ATTEMPT!” in /var/log/secure — what does this mean?
- How to display certain lines from a text file in Linux?
- What’s the reverse DNS command line utility?
- Can you have more than one ~/.ssh/config file?
- How to add a security group to a running EC2 Instance?
- How bad is it really to install Linux on one big partition?
- How do I extract login history?
- Can I send some text to the STDIN of an active process running in a screen session?
- GPG does not have enough entropy
- SSH from A through B to C, using private key on B [closed]
- Is it possible to reboot a Linux OS without rebooting the hardware?
- Why don’t EC2 ubuntu images have swap?
- SSHFS mount that survives disconnect
- Temporarily ignore my `~/.ssh/known_hosts` file?
- Does the “bs” option in “dd” really improve the speed?
- How to get TX/RX bytes without ifconfig?
- What solutions exist to allow the use of revision control for server configuration files? [closed]
- Curl: disable certificate verification
- Is there a way to do a remote “ls” much like “scp” does a remote copy?
- How to apply a filter to real time output of `tail -f `?
- Practical maximum open file descriptors (ulimit -n) for a high volume system
- Dump a linux process’s memory to file
- How to handle relative urls correctly with a reverse proxy
- What is the difference between /sbin/nologin and /bin/false?
- Where’s the conventional place to store git repositories in a linux file system tree?