PHP backup server

#24
This commit is contained in:
Szekeres Bálint
2018-11-02 14:24:32 +01:00
parent 83a28ee6dc
commit 6d590c6e1c
5 changed files with 37 additions and 6 deletions

View File

@@ -8,7 +8,14 @@ events {
worker_connections 65535;
}
http {
http {<!--
✔ PHP backup --><span ng-if="isPHPBackup()">
upstream php {
server {{ data.php_server[0] === '/' ? 'unix:' : '' }}{{ data.php_server }};
server {{ data.php_server_backup[0] === '/' ? 'unix:' : '' }}{{ data.php_server_backup }} backup;
}
</span>
charset utf-8;
sendfile on;
tcp_nopush on;