Nginx

From PostgreSQL_wiki
Revision as of 20:27, 16 August 2012 by Martin (talk | contribs) (New page: = mutli ssl single IP proxy = Leidt de gebruiker automatisch naar de secure Apache pagina van de URL. <pre> #NameVirtualHost *:80 <VirtualHost 194.151.143.203:80> ServerAdmin webma...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

mutli ssl single IP proxy

Leidt de gebruiker automatisch naar de secure Apache pagina van de URL.

#NameVirtualHost *:80
<VirtualHost 194.151.143.203:80>
        ServerAdmin webmaster@localhost
        ServerName webmail.webhuis.nl
        DocumentRoot /var/www/redirect
        RewriteEngine on
        RewriteCond %{SERVER_PORT} !^443$
        RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [NC,R,L]
        RewriteLog /tmp/rewrite.log
        RewriteLogLevel 9
</VirtualHost>

Terug naar: Webhuis configuratie