LINUX.ORG.RU

История изменений

Исправление noname_user, (текущая версия) :

неужели! сделал:

    server {
	server_name w.site.services www.w.site.services;
	charset UTF-8;
	#index index.html;
	disable_symlinks if_not_owner from=$root_path;
	#include /etc/nginx/vhosts-includes/*.conf;
	#include /etc/nginx/vhosts-resources/w.anymany.services/*.conf;
	access_log /var/www/httpd-logs/w.site.services.access.log;
	error_log /var/www/httpd-logs/w.site.services.error.log notice;
	set $root_path /var/www/www-root/data/www/w.site.services/wiki;
	root $root_path;
	listen ***.233.***.133:80;
	listen [2a0c:***:0:***::2]:80;
    location /opt/moin-1.9.10/MoinMoin/web/static/htdocs {
        alias /opt/moin-1.9.10/MoinMoin/web/static/htdocs;
    }
	location / {
        include uwsgi_params;
        uwsgi_pass unix:///var/run/moin/moin.sock;
        uwsgi_modifier1 30;
	}
}

всем спасибо !

Исходная версия noname_user, :

неужели! сделал:

    server {
	server_name w.site.services www.w.site.services;
	charset UTF-8;
	#index index.html;
	disable_symlinks if_not_owner from=$root_path;
	#include /etc/nginx/vhosts-includes/*.conf;
	#include /etc/nginx/vhosts-resources/w.anymany.services/*.conf;
	access_log /var/www/httpd-logs/w.site.services.access.log;
	error_log /var/www/httpd-logs/w.site.services.error.log notice;
	set $root_path /var/www/www-root/data/www/w.site.services/wiki;
	root $root_path;
	listen ***.233.***.133:80;
	listen [2a0c:***:0:***::2]:80;
    location /opt/moin-1.9.10/MoinMoin/web/static/htdocs {
        alias /opt/moin-1.9.10/MoinMoin/web/static/htdocs;
    }
	location / {
        include uwsgi_params;
        uwsgi_pass unix:///var/run/moin/moin.sock;
        uwsgi_modifier1 30;
	}
}