diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 31 |
1 files changed, 28 insertions, 3 deletions
@@ -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; + } |