Improving Web server configuration

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | no
| Applies to    | all
| Fixed tickets | #578 #1705

Improved Web server configuration:
- added multiple domain names
- added handling of `config.php` for nginx