summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README31
1 files changed, 28 insertions, 3 deletions
diff --git a/README b/README
index 4d04bbb..5f3b8f3 100644
--- a/README
+++ b/README
@@ -39,6 +39,31 @@ Nginx
If you want to use nginx:
- ssi on;
-
- < more will follow >
+ root /var/www;
+ ssi on;
+ location ~ ^/$ {
+ set $SITE "index";
+ set $LANG "de";
+ rewrite .* /index.shtml last;
+ }
+ location ~ ^/([^/]*)\.html$ {
+ set $SITE $1;
+ set $LANG "de";
+ rewrite .* /index.shtml last;
+ }
+ location ~ ^/(de|en|si)/?$ {
+ set $SITE "index";
+ set $LANG $1;
+ rewrite .* /index.shtml last;
+ }
+ location ~ ^/(de|en|si)/([^/]*)\.html$ {
+ set $SITE $2;
+ set $LANG $1;
+ rewrite .* /index.shtml last;
+ }
+ location ~ ^/([vhrl])([0-9]+)$ {
+ set $LANG "de";
+ set $CHAN $2;
+ set $POL $1;
+ rewrite .* /essid.shtml last;
+ }