Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zetrider/d7be8f091d24598fc0d03e3cfc4d1f4d to your computer and use it in GitHub Desktop.
Save zetrider/d7be8f091d24598fc0d03e3cfc4d1f4d to your computer and use it in GitHub Desktop.
Основной домен domain.ru
Зеркало domain2.ru
Настройка конфигов для сайта:
1. /etc/nginx/bx/site_avaliable/
bx_ext_domain.ru.conf
bx_ext_ssl_domain.ru.conf
server_name domain.ru www.domain.ru domain2.ru www.domain2.ru;
и
/etc/httpd/bx/conf/bx_ext_domain.ru.conf
ServerAlias www.domain.ru domain2.ru www.domain2.ru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment