образовательная корпорация
Создать
Править
Отменить
Вверх

Различия

Здесь показаны различия между двумя версиями данной страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
nginx [2013/04/17 18:48]
89.186.251.5
nginx [2015/10/04 17:31] (текущий)
root
Строка 1: Строка 1:
-cat /​etc/​yum.repos.d/​nginx.repo 
- 
-  [nginx] 
-  name=nginx repo 
-  baseurl=http://​nginx.org/​packages/​centos/​$releasever/​$basearch/​ 
-  gpgcheck=0 
-  enabled=1 
- 
- 
-cat /​etc/​yum.repos.d/​remi.repo 
- 
-  [remi] 
-  name=Les RPM de remi pour Enterprise Linux 6 - $basearch 
-  #​baseurl=http://​rpms.famillecollet.com/​enterprise/​6/​remi/​$basearch/​ 
-  mirrorlist=http://​rpms.famillecollet.com/​enterprise/​6/​remi/​mirror 
-  enabled=1 
-  gpgcheck=1 
-  gpgkey=file:///​etc/​pki/​rpm-gpg/​RPM-GPG-KEY-remi 
- 
-  [remi-test] 
-  name=Les RPM de remi en test pour Enterprise Linux 6 - $basearch 
-  #​baseurl=http://​rpms.famillecollet.com/​enterprise/​6/​test/​$basearch/​ 
-  mirrorlist=http://​rpms.famillecollet.com/​enterprise/​6/​test/​mirror 
-  enabled=0 
-  gpgcheck=1 
-  gpgkey=file:///​etc/​pki/​rpm-gpg/​RPM-GPG-KEY-remi 
- 
-  [remi-debuginfo] 
-  name=Les RPM de remi pour Enterprise Linux 6 - $basearch - debuginfo 
-  baseurl=http://​rpms.famillecollet.com/​enterprise/​6/​debug-remi/​$basearch/​ 
-  enabled=0 
-  gpgcheck=1 
-  gpgkey=file:///​etc/​pki/​rpm-gpg/​RPM-GPG-KEY-remi 
- 
-  [remi-test-debuginfo] 
-  name=Les RPM de remi en test pour Enterprise Linux 6 - $basearch - debuginfo 
-  baseurl=http://​rpms.famillecollet.com/​enterprise/​6/​debug-test/​$basearch/​ 
-  enabled=0 
-  gpgcheck=1 
-  gpgkey=file:///​etc/​pki/​rpm-gpg/​RPM-GPG-KEY-remi 
- 
- 
-cat /​etc/​yum.repos.d/​remi.repo 
- 
-  [Webmin] 
-  name=Webmin Distribution Neutral 
-  #​baseurl=http://​download.webmin.com/​download/​yum 
-  mirrorlist=http://​download.webmin.com/​download/​yum/​mirrorlist 
-  enabled=1 
- 
- 
-cat /​etc/​yum.repos.d/​epel.repo 
- 
-  [epel] 
-  name=Extra Packages for Enterprise Linux 6 - $basearch 
-  #​baseurl=http://​download.fedoraproject.org/​pub/​epel/​6/​$basearch 
-  mirrorlist=https://​mirrors.fedoraproject.org/​metalink?​repo=epel-6&​arch=$basearch 
-  failovermethod=priority 
-  enabled=1 
-  priority=1 
-  gpgcheck=1 
-  gpgkey=file:///​etc/​pki/​rpm-gpg/​RPM-GPG-KEY-EPEL-6 
- 
-  [epel-debuginfo] 
-  name=Extra Packages for Enterprise Linux 6 - $basearch - Debug 
-  #​baseurl=http://​download.fedoraproject.org/​pub/​epel/​6/​$basearch/​debug 
-  mirrorlist=https://​mirrors.fedoraproject.org/​metalink?​repo=epel-debug-6&​arch=$basearch 
-  failovermethod=priority 
-  enabled=0 
-  gpgkey=file:///​etc/​pki/​rpm-gpg/​RPM-GPG-KEY-EPEL-6 
-  gpgcheck=1 
- 
-  [epel-source] 
-  name=Extra Packages for Enterprise Linux 6 - $basearch - Source 
-  #​baseurl=http://​download.fedoraproject.org/​pub/​epel/​6/​SRPMS 
-  mirrorlist=https://​mirrors.fedoraproject.org/​metalink?​repo=epel-source-6&​arch=$basearch 
-  failovermethod=priority 
-  enabled=0 
-  gpgkey=file:///​etc/​pki/​rpm-gpg/​RPM-GPG-KEY-EPEL-6 
-  gpgcheck=1 
- 
- 
- 
  
 Конвертор nginx Конвертор nginx
Строка 97: Строка 14:
 http://​www.opennet.ru/​base/​sec/​openvpn_server.txt.html http://​www.opennet.ru/​base/​sec/​openvpn_server.txt.html
 http://​wolandblog.com/​1103-ustanovka-i-nastrojka-openvpn-na-centos-5-3/​ http://​wolandblog.com/​1103-ustanovka-i-nastrojka-openvpn-na-centos-5-3/​
 +
 +
 +
 +убрать .html для красивости
 +  server {    ​
 + listen 77.221.139.150:​80;​
 +        server_name ​ ssk.magnes.su samarastroycottage.ru www.samarastroycottage.ru;​
 +
 + location / {
 + root ​  /​var/​www/​html/​magnes.su/​ssk.magnes.su;​
 + index index.html;
 +
 + # убираем .html
 + try_files $uri.html $uri/ =404;
 +    ​} ​        
 +    }