Различия
Здесь показаны различия между двумя версиями данной страницы.
| Следующая версия | Предыдущая версия | ||
|
nginx [2013/03/07 09:10] 89.186.251.5 создано |
nginx [2015/10/04 13:31] (текущий) root |
||
|---|---|---|---|
| Строка 1: | Строка 1: | ||
| - | cat /etc/yum.repos.d/nginx.repo | ||
| - | [nginx] | + | Конвертор nginx |
| - | name=nginx repo | + | http://winginx.ru/htaccess |
| - | baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ | + | |
| - | gpgcheck=0 | + | |
| - | enabled=1 | + | |
| + | По настройке nginx | ||
| + | http://habrahabr.ru/post/164401/ | ||
| - | 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 | ||
| + | VPNNN | ||
| + | http://www.opennet.ru/base/sec/openvpn_server.txt.html | ||
| + | http://wolandblog.com/1103-ustanovka-i-nastrojka-openvpn-na-centos-5-3/ | ||
| - | 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 | ||
| + | убрать .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; | ||
| + | } | ||
| + | } | ||
