Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css ClonOS = CBSD+UI, mention CBSD too Dec 29, 2018
de update bhyve live migration page Sep 13, 2018
en
gif wip Dec 15, 2018
img
js
orphus
ru 12.0.4-RELEASE Feb 16, 2019
sh initial import Mar 23, 2017
.gitignore 11.1.0-release Jul 30, 2017
404.html
README.md initial import Mar 23, 2017
_version.html
bhyve_images.html
favicon.ico
images.html initial import Mar 23, 2017
index.html
modules.html
robots.txt
sitemap.xml 11.1.0-release Jul 30, 2017
xrss.xml 12.0.4-RELEASE Feb 16, 2019

README.md

cbsd-wwwdoc

cbsd documentation part for https://bsdstore.ru site

nginx-vhost.conf sample for site:

============

server {
listen       *:80;
listen      [::]:80;

server_name  bsdstore.ru www.bsdstore.ru;
access_log /var/log/httpd/www.bsdstore.ru.acc main buffer=1m;
error_log /var/log/httpd/www.bsdstore.err;

root   /usr/home/web/www.bsdstore.ru;

if ($host !~* ^www\.) {
	rewrite ^(.*)$ http://www.$host$1 permanent;
}

rewrite  ^/ru/$  /ru/about.html permanent;
rewrite  ^/en/$  /en/about.html permanent;

location ~* \.(css|txt|html|js|xsl)$ {
	ssi on;
	ssi_types text/css text/javascript application/x-javascript;
}

location ~* \.(jpg|jpeg|gif|png|swf|tiff|swf|flv|zip|rar|bz2|iso|xz|img)$ {
	add_header Cache-Control "public";
	expires     1d;
}

location / {
	set $language_suffix 'en';

	if ($http_accept_language ~* '^(en|ru|de){1}') {
		set $language_suffix $1;
	}
	rewrite ^/$ /$language_suffix/about.html permanent;

}

error_page      404     /404.html;

}

============